.net - how to use jquery to do a gridview.row.count and change a labels text to the row count -
basically, possible grids row count using jquery.
if grid has 20 rows in not including header or footer, want count of actual rows, tell users how many tasks have in list.
since, page uses tabs want user able see count of each grid in respective tab. each tab has label , want label have number of rows.
using jquery:
$("tr").length();
this return number of table rows on given page. of course, more specific passing dom id or class count. if provide markup in question, right.
Comments
Post a Comment