I have a question about jQuery Plugins . I am using a checkbox styling plugin ,plugin using the jQuery lib version 1.4.2 and it works perfectly. But when I upgraded to jquery 1.7.1 ,my bad,its not working, also no error in console.
Above issue faced so many times then I'd resolved with using the same jquery file along with plugin. But now I've a lot more effects in my web page and they are using latest versions of jquery, perhaps I can't revert back it to old
I am a newbie at jquery ,if this is the case it will be too difficult to debug what's happening. Any good solutions for this ,in future I should have to use jQuery? What are all the upgradation rules ?.
In my experience, the most significant change from 1.4 to 1.7 that might cause code to break was the introduction in jQuery 1.6 of .prop()
to replace some (mis)uses of .attr()
.
Take a look at all calls to .attr()
and see if they should be replaced with .prop()
.
For guidance on which should be used, see http://appendto.com/blog/2011/05/jquery-161-release-executive-brief
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With