Posted By

konteck on 10/07/10


Tagged

plugin jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jaypplr


jQuery Plugin Structure


 / Published in: jQuery
 

  1. (function($){
  2. $.fn.extend({
  3. helloWorld : function(options) {
  4. // Plugin options
  5. var options = $.extend({
  6. foo: 'hello '
  7. }, options);
  8.  
  9.  
  10. return this;
  11. }//,
  12. });
  13. })(jQuery);

Report this snippet  

You need to login to post a comment.