/ Published in: jQuery

A template of a basic jQuery plugin, including over-ridable options
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($){ $.fn.functionName = function(options) { var options = $.extend({}, options); return $(this).each(function(i) { //Optionally use the .each() function }); }//end $.fn })(jQuery);
Comments
