Malay Ko Ba
Or: wha? I did not know that! . . . Stuff I've picked up along the way.
Friday, October 21, 2011
Hide a row containing empty cells
Using jQuery, based on this
StackOverflow thread
:
$("tr").each( function()
{
if ($(this).children("td:not(:empty)").length > 0) {
$(this).show();
} else {
$(this).hide();
}
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment