for(x in tr)
{
var td = tr[x].getElementsByTagName('td');
if(isNaN((bids=parseInt(td[2].innerHTML))))bids=0;
}
Loop is working only for 1st iteration but in second iteration i received error td[2] is undefined whereas each Row(tr) contain eight 8 columns(td). More than 50 Tr.
I have tried a lot but so confusing. It should not be an error.