lastInserts = "table"+selectValue;
只能获得应该table的id,二不能获得这个table。要获得table可以用
lastInserts = document.getElementById("table"+selectValue);
lastInserts = eval("widnow.table"+selectValue);
lastInserts = document.all("table"+selectValue);
之类的方法获得。lastInserts.removeNode(true);
removeNode是dom节点对象的的方法,不能应用在串上面。而且这个方法的参数是节点对象而不是布尔值。
只能获得应该table的id,二不能获得这个table。要获得table可以用
lastInserts = document.getElementById("table"+selectValue);
lastInserts = eval("widnow.table"+selectValue);
lastInserts = document.all("table"+selectValue);
之类的方法获得。lastInserts.removeNode(true);
removeNode是dom节点对象的的方法,不能应用在串上面。而且这个方法的参数是节点对象而不是布尔值。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货