JQuery Plugin Template


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. (function($){
  2. $.fn.pluginName = function(options) {
  3.  
  4. var defaults = {
  5. };
  6. var options = $.extend(defaults, options);
  7.  
  8. return this.each(function() {
  9.  
  10. });
  11. };
  12. })(jQuery);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.