摘要: //动态添加行function AddDataRow() { //1、找到要添加行的表格 var objTable = document.getElementById("myTable"); //2、添加一个新的行 var objRow = objTable.insertRow(); //在数据表中插入新行 //3、给每一行取一个ID var iMaxNum = parseInt(document.getElementById("iMaxNum").value) + 1; document.getElementById("iMaxNum&quo 阅读全文
posted @ 2011-09-26 14:32 撸码兔兔 阅读(426) 评论(0) 推荐(0) 编辑