I'm using jQuery with TableSorter and QuickSearch plugins. These work fine.
How can I:
dynamically display row numbers for each displayed row?
somewhere on my page, display the total number of displayed rows?
I'm using jQuery with TableSorter and QuickSearch plugins. These work fine.
How can I:
dynamically display row numbers for each displayed row?
somewhere on my page, display the total number of displayed rows?
$('tr:visible').length
Will you give the number of visible rows on the page.
Something along the lines of: var rowCount = $('tr:visible').length; $('#rowCountDiv').html(rowCount + "rows");
Will write out the number into a div on your page with an id of rowCountDiv