I'm trying to loop through gridview using jquery, the code I'm using is
$('#<%=gridview1.clientid%> tbody tr').not(':first,:last')
.each(function(){
gridrows ++;
});
I would like to remove the first and last rows, which obviously are the header and footer, I tried this code, but it doesn't seem to work, it returns the number of gridview rows. any ideas.
source
share