Reputation: 69
I have a table with an id of myPicks
and when I execute the code below, the result is always one more than of the number of rows I have? Is this how it's suppose to behave? Thanks.
var table =document.getElementById("myPicks");
var rowCount = table.rows.length;
Upvotes: 1
Views: 3547