Uncaught TypeError: $(...).fullpage is not a function code example

Example 1: uncaught TypeError: $ is not a function

(function ($) {
   $(document).
}(jQuery));

Example 2: uncaught TypeError: $ is not a function

(function($){

  $(document).ready(function(){
      // write code here
  });

  // or also you can write jquery code like this

  jQuery(document).ready(function(){
      // write code here
  });

})(jQuery);

Example 3: Uncaught TypeError: $(...).jstree is not a function

<script src="/path/to/jstree.min.js"></script>
<script>
    jQuery(function($) {
         ("#divtree").jstree();
    });
</script>

Tags:

Misc Example