<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>
<script language=javascript>
function abc(){
newRow = document.all.aa.insertRow()
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
}
</script>
<table id=aa border=1></table>
<input id=bb type=text value="±í¸ñµÄÄÚÈÝ"><input type=button value=»­³ö onclick=abc()>
</body>
</html>
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>
<script language=javascript>
function abc(){
newRow = document.all.aa.insertRow()
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
}
</script>
<table id=aa border=1></table>
<input id=bb type=text value="±í¸ñµÄÄÚÈÝ"><input type=button value=»­³ö onclick=abc()>
</body>
</html>
{
newCell = aa.rows[i].insertCell(x);
newCell.innerHTML = document.all.bb.value
}
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>
<script language=javascript>
function abc(){
newRow = document.all.aa.insertRow()
newCell = newRow.insertCell()
newCell.innerHTML = document.all.bb.value
}
function cba()
{
if(document.all.aa.rows.length==0)
abc()
else
{
for(i=0;i<aa.rows.length;i++)
{
newCell = aa.rows[i].insertCell(aa.rows[i].cells.length);
newCell.innerHTML = document.all.bb.value
}
}
}
</script>
<table id=aa border=1></table>
<input id=bb type=text value="±í¸ñµÄÄÚÈÝ"><input type=button value=»­³ö onclick=abc()>
<input name="button" type=button onClick=cba() value=插入列>
</body>
</html>