/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($){ $.fn.extend({ helloWorld : function(options) { // Plugin options var options = $.extend({ foo: 'hello ' }, options); return this; }//, }); })(jQuery);