jQuery Plugin Template


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



Copy this code and paste it in your HTML
  1. (function($) {
  2. // Shell for your plugin code
  3. $.fn.yourNameHere= function() {
  4. // Plugin code
  5.  
  6. }
  7. })(jQuery);

URL: http://www.sitepoint.com/books/jquery1/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.