mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
82 lines
1.0 KiB
HTML
82 lines
1.0 KiB
HTML
|
<HEAD>
|
||
|
<SCRIPT src=tableDom.js>
|
||
|
</SCRIPT>
|
||
|
<SCRIPT>
|
||
|
|
||
|
function doIt() {
|
||
|
deleteTbodyAt(0, 0);
|
||
|
deleteTbodyAt(2, 1);
|
||
|
}
|
||
|
</SCRIPT>
|
||
|
</HEAD>
|
||
|
<BODY onload="doIt()">
|
||
|
The 2 tables should look the same
|
||
|
<table bgcolor=orange border>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c11</td><td>c12</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c21</td><td>c22</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c31</td><td>c32</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c41</td><td>c42</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<BR>
|
||
|
<table bgcolor=orange border>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c31</td><td>c32</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c41</td><td>c42</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<BR>
|
||
|
|
||
|
The 2 tables should look the same
|
||
|
<table bgcolor=orange border>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c11</td><td>c12</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c21</td><td>c22</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c31</td><td>c32</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c41</td><td>c42</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<BR>
|
||
|
<table bgcolor=orange border>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>c11</td><td>c12</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>c21</td><td>c22</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</BODY></HTML>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|