+ 3
$ is not defined
this is probably really simple but it just doesn't seem to work for me. I can't seem to figure out how to make a button work like it should. It keeps on showing the "$ is not defined" message and I've tried almost everything¿? elp
4 ответов
+ 9
make sure to include jQuery library before your code
+ 2
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
try to use in the <head>
+ 1
can u share the code
+ 1
I think you should include the jQuery script in the HTML page where you have placed the button. It's commonly included inside the <head> as <script type="text/javascript" src="jquery.min.js">