Divyesh Bhakta
Divyesh Bhakta

Reputation: 54

Migration from jQuery 1.7.1 to jQuery 1.9.2

I have replaced jQuery 1.7.1 to jQuery 1.9.2 and i have seeing the following errors with some of my custom build ui script and the jQuery provided UI library as well. the followings are the error.

Also i have upgraded the jQuery UI library to 1.10.0

the followings are error that i have been facing there are more.

Uncaught TypeError: Cannot read property 'element' of undefined  
'e.widget._close'  
(anonymous function)  
e.widget.close  
(anonymous function)  
'_on.blur'  
u  
b.event.dispatch  
v.handle 

Uncaught TypeError: Object [object Object] has no method 'menu'

cannot call methods on myCustomOverlay prior to initialization; attempted to call method 'isOpen'

is there any things that i have to take care? please guide me how to do a migration from 1.7.1 to 1.9.1

Upvotes: 2

Views: 8316

Answers (1)

eandersson
eandersson

Reputation: 26352

A lot of the old code base has been completely revamped, or deprecated in the latest 1.9 builds, and because of that a migration plugin has been made available to bring back some removed features to help transition your project to a newer version of jQuery.

You can find the jQuery Migrate plugin on their official download page here. You also have the Migrate guide that @dgvid mentioned here.

Upvotes: 4

Related Questions