Monday, May 18, 2009

jQuery display


$.fn.display = function(show) {
return this.each(function() {
(show) ? $(this).show() : $(this).hide();
});
};

No comments:

Post a Comment