In jQuery plugins every time we return a jQuery object like
$.fn.Myplugin = function() { return this.each(function() {
I doubt why we really return the jQuery object and where we will use this returned object
Although I do not return the jQuery object to my function ( plugin ), I still get the same result as when returning the object
someone please explain my doubts
Thank you for sparing your time, having a good day!
user372551
source share