Jump to content

Problem with :15-jquery.uniform-modified.js


romelik

Recommended Posts


Hello I have a problem with the :15-jquery.uniform-modified.js file.

When I put this script :

{literal}
$('#group_13').change(function(){
           $('#group_12').val(102);
	   $('#section-perso').show();
	   $("#dialog").dialog();
               });
				
    
    $('#group_12').change(function(){
            $('#group_13').val(103);
	   $('#section-perso').hide();
            });
{literal}

in my product.tpl that doesn't work ...

I'm obliged to remove this code

 function attrOrProp($el) {
        var args = Array.prototype.slice.call(arguments, 1);

        if ($el.prop) {
            // jQuery 1.6+
            return $el.prop.apply($el, args);
        }

        // jQuery 1.5 and below
        return $el.attr.apply($el, args);
    }

of theme/js/autoload/15-jquery.uniform-modified.js if I want my product.tpl work with my modifiaction ...

Someone could help me.

please

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...