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);
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);