Here you can find the source of hide()
Element.prototype.hide = function() { this.style.display = "none" return this//w w w .j a va2 s .c om }
Element.prototype.hide = function() { this.style.display = 'none'; };
Element.prototype.hide = function() { this.addClass("hide"); return this;