动态增加表格:
**********************
<HTML>
<head>
</head>
<BODY>
<script>
function add(){
var t=document.getElementById("table1");
var tt=t.insertRow();
for(i=0;i<t.rows[0].cells.length;i++) tt.insertCell().innerText='HueVan'+i;
}
</script>
<table id=table1 width=100 height=100 border=1>
<tr><td>1</td><td>2</td><td>3</td></tr>
<td>11</td><td>22</td><td>33</td>
</table>
<input type=button onclick=add() value="增加一行">
</BODY>
</HTML>