Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created September 21, 2009 07:17
Show Gist options
  • Save blissdev/190116 to your computer and use it in GitHub Desktop.
Save blissdev/190116 to your computer and use it in GitHub Desktop.
(function ($) {
jQuery.fn.newMethod = function(){
return this.each(function(){
alert(this);
});
};
$("#accordion").newMethod();
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment