Answers for "how to create jquery function"

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 "how to create jquery function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language