blob: 1d54db0842e8bd695bbd11f7f6fa3e9cb60d1165 [file] [log] [blame]
<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
insertCellAt(0, 1, 1, 1);
insertCellAt(0, 1, 1, 1);
insertCellAt(1, 1, 1, 1);
insertCellAt(1, 1, 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>
<tr>
<td>c21</td><td>c22</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>X2</td><td>X1</td><td>c12</td>
</tr>
<tr>
<td>c21</td><td>X4</td><td>X3</td><td>c22</td>
</tr>
</table>
</BODY></HTML>