List of utility methods to do HTML Element Show
show()Element.prototype.show = function() { this.style.display = 'block'; }; | |
show()Element.prototype.show = function() { this.style.display = "block" return this | |
show()Element.prototype.show = function() { this.removeClass("hide"); return this; if(typeof(String.prototype.trim) === "undefined") { String.prototype.trim = function() { return String(this).replace(/^\s+|\s+$/g, ''); }; | |
display(show)HTMLElement.prototype.display = function display(show) { this.style.display = (show === true) ? "block" : "none"; }; |