+ 2
In jquery what is uncaught reference error $ is not defined
please tell me how to fix it
8 Answers
+ 9
The error means "quot; symbol was not defined.
if you did not load the jquery script this error happens.
Include the below script inside the head tag of your html. it will load properly
<script src="https://code.jquery.com/jquery-3.2.1.min.js">
https://www.sololearn.com/discuss/691752/?ref=app
+ 7
Your javascript code loads before your script. that's why "quot; is undefined.
Wrap your entire Javascript code like below
it will work correctly
window.onload = function(){
// your entire js code
}
https://code.sololearn.com/WwW56dK9MsDC/?ref=app
+ 5
you should do something like
<script src="jquery/,link" ></script>
before you can use it
+ 2
did you included the jQuery Library???
+ 2
then you need to show your code..
+ 2
@lord Krishna
thanks
+ 1
@sami Khan
yes I included that