日期:2014-05-16 浏览次数:20416 次
function f1(){
var objrow = Mytable.insertRow(1);
var objcell = objrow.insertCell(0);
objcell.innerText= document.getElementById("td0").innerText;
var objcell = objrow.insertCell(1);
objcell.innerText = document.getElementById("td1").innerText;
}
<tr >
<td align="center" id="td0">
<input type="checkbox" name="checkbox1" value="checkbox">
</td>
<td align="center" id="td1">
<input style="border:solid 1px #C0C0C0;" type="TEXT" />
</td>
</tr>