0
What can I do to fix an uncaought referenceError: $ is not defined line 5
Uncaought referenceError: $ is not defined
3 Answers
+ 9
Please be specific with which particular language you're talking about.
For now assuming you're talking about JQuery, you need to add jQuery library before your script which uses $ or jQuery so that $ can be identified in scripts.
Include JQuery plugin in the head section of your code.
And if you're including the library file and then too you're getting an error, then either there is a typo in the link or you need to Include the jquery.js file before any JQuery plugin files ( which may mean JQuery was not loaded until then).
+ 7
So are you using jQuery in your program ?
0
JavaScript sorry for not mentioning it