日期:2014-05-16  浏览次数:20379 次

checkbox属性问题
var tableofdel = document.getElementById("phonetable"); //table的id
 
  var inputcom=tableofdel.getElementsByTagName("input");
   
  inputcom[i].type //网页提示错误:type属性找不到。

------解决方案--------------------
inputcom[i].getAttributeNode
------解决方案--------------------
JScript code
inputcom[i].getAttributeNode("").value

------解决方案--------------------
inputcom[i].type

i越界了