Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm 11 - unresolved method

I just download webStorm and everything works just fine except im getting this annoying markings when i usr $(). It says: unresolved function or method or ajax()

enter image description here

How can i fix this?

like image 293
Webbie Avatar asked Dec 11 '22 18:12

Webbie


1 Answers

You need to add JQuery to Javascript libraries in Settings | Languages & Frameworks | JavaScript | Libraries: either press Download... and then select JQuery 2.0 from official libraries list, or use Add... button to specify a path to jquery.js. See also http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/

like image 153
lena Avatar answered Dec 24 '22 10:12

lena