irit19
July 27th, 2002, 02:11 PM
Hi everybody,
I write for netscape. I have a simple table like this:
<table id="table1">
<tr id="tr1">
<td id="td11">text1</td>
<td id="td12">text2</td>
</tr>
<tr id="tr2">
<td id="td21">text3</td>
<td id="td21">text4</td>
</tr>
</table>
and I want to change the content of the <td> dynamicly. the problem is that I can't access the <td> by the method document.all("tdId") like in IE, also I can't use the innerHTML to change the content cause those two don't exist for netscape, do u have any idea?
I write for netscape. I have a simple table like this:
<table id="table1">
<tr id="tr1">
<td id="td11">text1</td>
<td id="td12">text2</td>
</tr>
<tr id="tr2">
<td id="td21">text3</td>
<td id="td21">text4</td>
</tr>
</table>
and I want to change the content of the <td> dynamicly. the problem is that I can't access the <td> by the method document.all("tdId") like in IE, also I can't use the innerHTML to change the content cause those two don't exist for netscape, do u have any idea?