1 2 | var $ = jQuery.noConflict(); $( ".whatever" ).hide(); |
1 2 3 4 5 6 | (function($) { // $ Works! You can test it with next line if you like // console.log($); })( jQuery ); |
Or include jQuery script in the header
1 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> |