30 Jul 2018

fix for “Uncaught TypeError: $ is not a function” error

Use the following statement in a JS file.

jQuery(document).ready(function($){

// jQuery code is in here

});

After declaring the above statement you will be able to use $ sign.