E
Earl T
I just started doing relative DOM addressing to address contents of my
objects. Most of it is very simple but I was wondering of the .all[]
syntax is the most compatible and best was of addressing the objects
withing a table cell?
For example, I have a table with
<TR onmouseover="TabOver(this)">
<TD>
<img src="spacer5.gif">
</TD>
</TR>
And the function looks like
function TabOver(TabRow)
{
TabRow.cells[0].all[0].src='/images/foo.gif'
}
Thanks
Earl
objects. Most of it is very simple but I was wondering of the .all[]
syntax is the most compatible and best was of addressing the objects
withing a table cell?
For example, I have a table with
<TR onmouseover="TabOver(this)">
<TD>
<img src="spacer5.gif">
</TD>
</TR>
And the function looks like
function TabOver(TabRow)
{
TabRow.cells[0].all[0].src='/images/foo.gif'
}
Thanks
Earl