answer action

Can’t find an answer?

Make use of a qualified tutor to get the answer

Oliver Tušla
8
Q:

Javascript : $ is not defined jquery

Features

Javascript
Delarno
/*If this error occurs, include Jquery code in the HTML,
add jQuery code in footer i.e. just before the closing </body> tag. If you have not done that, then use the defer attribute. */
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
14
This type of error arise when the jquery library file is not included properly in HTML file.
or if its included then might be the chances of file path error for that you need to cross verify the file path.

Here is the direct solution that you copy below path and paste in your HTML document.
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>

/*
I hope it will help you.
Stay Home Stay Safe
Namaste
*/
3
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
1
suhali
<!--If that error occurs, you need to include Jquery in the HTML-->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
1
Your Answer

Tags

New to Communities?

Join the community