0

What can I do to fix an uncaought referenceError: $ is not defined line 5

Uncaought referenceError: $ is not defined

3rd Oct 2019, 2:09 PM
Elingano đŸ“±đŸ’»
Elingano đŸ“±đŸ’» - avatar
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).
3rd Oct 2019, 2:21 PM
Nova
Nova - avatar
+ 7
So are you using jQuery in your program ?
4th Oct 2019, 4:15 AM
Nova
Nova - avatar
0
JavaScript sorry for not mentioning it
3rd Oct 2019, 7:00 PM
Elingano đŸ“±đŸ’»
Elingano đŸ“±đŸ’» - avatar