Re: innerHTML for a table row problem
- From: google@xxxxxxxxxxxxxxxxxxxx
- Date: Fri, 31 Aug 2007 08:53:58 -0700
Thanks for your help.
So do you reckon I could replace all the 'for' code with:
var y = 1
for (var x = 0; x < rowsCount; x++)
{
rows[x].getElementsByTagName('hidden').ID = y;
y += 1;
}
Or
var y = 1
for (var x = 0; x < rowsCount; x++)
{
rows[x].getElementsByTagName('hidden')[0].ID = y;
y += 1;
}
.
- Follow-Ups:
- Re: innerHTML for a table row problem
- From: Martin Honnen
- Re: innerHTML for a table row problem
- References:
- innerHTML for a table row problem
- From: google
- Re: innerHTML for a table row problem
- From: RobG
- innerHTML for a table row problem
- Prev by Date: Advice: how best to create an image
- Next by Date: Noob Problem, Changing Checkbox[dyn_name][i] State
- Previous by thread: Re: innerHTML for a table row problem
- Next by thread: Re: innerHTML for a table row problem
- Index(es):