/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** Plugin: name author: me website: link version: 1.0 */ (function($){ $.fn.fucntion_name = function(options) { var defaults = { context: 'value' }; var options = $.extend(defaults, options); //Do something }; })(jQuery);