jQuery – how to extend?

Here is how you can extend jQuery functions:

(function($){
$.fn.extend({

your_plugin_name: function() {
// Your plugin code
},

another_method: function(){
// Another method code
}

});
})(jQuery);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment