1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<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()"> <table bgcolor=orange border> <tr> <td>c11</td><td>c12</td> </tr> <tr> <td>c21</td><td>c22</td> </tr> </table> </BODY></HTML>