摘要: 表格对象的insertRow和insertCell方法有一个默认的参数-1,表示在当前行或者单元格后插入行和单元格。在ie中可以不用填写这个参数,但是在firefox浏览器下必须加上这个参数否则就会出现缺少参数的错误。row = document.getElementById(id).insertRow(-1);cell = row.insertCell(-1); 阅读全文
posted @ 2013-03-07 16:48 hlp鹏 阅读(309) 评论(0) 推荐(0) 编辑