$.fn.display = function(show) {
return this.each(function() {
(show) ? $(this).show() : $(this).hide();
});
};
Monday, May 18, 2009
jQuery display
Subscribe to:
Post Comments (Atom)
A simple repository for code snippets
$.fn.display = function(show) {
return this.each(function() {
(show) ? $(this).show() : $(this).hide();
});
};
No comments:
Post a Comment