作者:葬心xz | 来源:互联网 | 2017-05-13 02:31
用js怎么动态插入行!。scriptlanguageJavaScript构造函数functionInsterCell(tableId,content,place){this.mTableIdtableId;table的标识this.mInsContentcontent;inster的内容this.mInsPlac
代码:--------------------------------------------------------------------------------
function tbladdrow()
{
var i=lines.rows.length ;
var row = Table1.insertRow(Table1.rows.length);
var col = row.insertCell(0);
col.innerHTML = "
";
http://www.bkjia.com/PHPjc/629494.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629494.htmlTechArticlescript language=Javascript //构造函数 function InsterCell(tableId,content,place){ this.mTableId=tableId;//table的标识 this.mInsCOntent=content;//inster的内容 this.mInsPlac...