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!


Popular posts from this blog

Top things to do after installing Manjaro KDE

PIP - upgrade all packages from requirements.txt (interactively)

Compare integer variable in django templates