javascript uncaught referenceerror $ is not defined at code example
Example 1: Uncaught ReferenceError: $ is not defined
make sure that your jquery script is being loaded before every other script
Example 2: Uncaught ReferenceError: $ is not defined
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>