blob: cd3a4a67174b92380fc333159b2fa42659bc9041 [file] [log] [blame]
<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
appendCellAt(0, 1, 1);
appendCellAt(2, 1, 1);
appendCellAt(2, 1, 1);
}
</SCRIPT>
</HEAD>
<BODY onload="doIt()">
The 2 tables should look the same
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>X1</td>
</tr>
</table>
<BR>
The 2 tables should look the same
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>X2</td><td>X3</td>
</tr>
</table>
</BODY></HTML>