Back
When I was trying to run the JavaScript/jQuery and gets the following error:
$ is not defined $(function()".
Any help would be appreciated.
You can add the below line of code to the top of your file and it will work. The issue is basically, for the file which is not added to the php/jsp file properly.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
I hope this will help.
Want to become a Java Expert? Join Java Training now!!
31k questions
32.8k answers
501 comments
693 users