Jquery upper version (Version 11)
Jquery upper version (Version 11)

Today i was working in the latest version of the jquery-2.1.0.min.js because my client sliced with the use of it. And we got error because of the upper version and some method gets deprecated like Uncaught TypeError: Object [object Object] has no method ‘live’ as live method is deprecated and removed from version 1.9 so need to change it to ‘on’. Thus i changed all .live into .on

I have also removed all the msie also $.browser.msie which was showing error like Uncaught TypeError: Cannot read property ‘msie’ of undefined

I have updated the

catalogviewthemedefaulttemplatecheckout/checkout.tpl

catalogviewjavascript/common.js

Need to update other files also product.tpl, register.tpl, cart.tpl, etc

I have attached two files checkout.tpl and common.js, please follow similar find and replace rule to replace the .live into .on

LEAVE A REPLY

Please enter your comment!
Please enter your name here