A
Anon
I have a table with a cell. The cell's ID is created using a unique name
that
is held in m_UniqueCellName and the cell is created like so...
document.write( "<TD ID="' + m_UniqueCellName + '"></TD>" );
How can I programmatically modify the contents of the cell whose name
is held within m_UniqueCellName? The variable will get passed around
to other functions, but try as I might,
myid = document.getElementById( m_UniqueCellName );
document.all.myid.innerHTML = "Something!";
simply doesn't work. What is it that I'm missing? Any help would be
greatly appreciated.
that
is held in m_UniqueCellName and the cell is created like so...
document.write( "<TD ID="' + m_UniqueCellName + '"></TD>" );
How can I programmatically modify the contents of the cell whose name
is held within m_UniqueCellName? The variable will get passed around
to other functions, but try as I might,
myid = document.getElementById( m_UniqueCellName );
document.all.myid.innerHTML = "Something!";
simply doesn't work. What is it that I'm missing? Any help would be
greatly appreciated.