日期:2014-05-16 浏览次数:20648 次
var inputType try{ inputType = new ActiveXObject("Microsoft.XMLDOM"); inputType.async = false; }catch(ex){inputType=false;alert('无法创建XMLDOM对象!')} function load_inputType_add() { if(!inputType){alert('无法创建XMLDOM对象!');return false;}/////////////// inputType.load("/plats/credit/xml/dic/getDicItemXML.jsp?TYPE=SRCSLX"); //删除这里不要的字典项 for(var i = 0; i < inputType.documentElement.childNodes.length;){ var enname = inputType.documentElement.childNodes(i).getAttribute("enname"); if(enname == "005" || enname == "006" || enname == "007" || enname == "008" || enname == "009" || enname == "010" || enname == "015"){ inputType.documentElement.removeChild(inputType.documentElement.childNodes(i)); }else{ i++; } } }