I use show() and hide() to show and hide rows in a table.
show()
hide()
How could I count the number of non-hidden rows (more accurately, rows with
Try this:
$('tr:not([style*="display: none"])').length
Example http://jsfiddle.net/infernalbadger/7LvD5/