Answers for "function with $ jquery"

0

how to create jquery function

(function( $ ){
   $.fn.myfunction = function() {
      alert('hello world');
      return this;
   }; 
})( jQuery );

$('#my_div').myfunction();
Posted by: Guest on March-20-2021

Code answers related to "function with $ jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language