Object has no method 'curCSS'

I was implementing jquery-ui autocomplete on an older project, and came across this error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'curCSS'

Problem: Jquery removed .curCSS() method in 1.8 version.

The solution:  ... Either upgrade jquery-ui (recent versions do not need 'curCSS' method), or downgrade jquery.

Good luck!

Comments

Popular posts from this blog

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu

Fix - Updated from OSX El Capitan Gold Master to Final Release, andbeta update keeps showing in AppStore