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

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

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu