1<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>
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>
1<script src='jquery.js'></script>
2if (typeof $ == 'undefined') {
3 var $ = jQuery;
4}
5
1(function( $ ) {
2 "use strict";
3
4 $(function() {
5
6 //Your code here
7
8 });
9
10}(jQuery));
11
1(function($){
2
3 $(document).ready(function(){
4 // write code here
5 });
6
7 // or also you can write jquery code like this
8
9 jQuery(document).ready(function(){
10 // write code here
11 });
12
13})(jQuery);
14