$ is not a function error in js code example
Example: Uncaught TypeError is not a function JavaScript
jQuery(document).ready(function($){
// jQuery code is in here
});
jQuery(document).ready(function($){
// jQuery code is in here
});