spewn
Programmer
- May 7, 2001
- 1,034
okay, how can i name a <td> to later call it and change an attribute of?
i tried :
<td name='box1'>
and then later used in js:
... document.box1.bgColor = 'red'
this returns that document.box1 is not an object.
so i tried
... document.td.box1.bgColor = 'red'
still no luck.
????? - crispy
i tried :
<td name='box1'>
and then later used in js:
... document.box1.bgColor = 'red'
this returns that document.box1 is not an object.
so i tried
... document.td.box1.bgColor = 'red'
still no luck.
????? - crispy