Hello,
In jQuery plugins, every time we return an object of jQuery, like
$.fn.Myplugin = function() {
return this.each(function() { //do some stuff });
});
My doubt is, why do we actually return an object of jQuery and where are we going to use this returned object
Though I don't return any jQuery object in my function(plugin), I still get the same result just as in returning an object
someone please explain my doubt,
Thanks for sparing your time, Have a Good Day !