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