1There are quite lots of answer based on situation.
2
31) Try to replace '$' with "jQuery"
4
52) Check that code you are executed are always below the main jquery script.
6
7<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
8<script type="text/javascript">
9jQuery(document).ready(function(){
10
11});
12</script>
133) Pass $ into the function and add "jQuery" as a main function like below.
14
15<script type="text/javascript">
16jQuery(document).ready(function($){
17
18});
19</script>
1jQuery(document).ready(function($){
2 //you can now use $ as your jQuery object here
3});
4