摘要:
最近做了个小抽奖,名单就用xml来生成了 a君 b君 c君 /* # 读取文件 # xml文档路径 */ this.loadXML = function(xmlFile){ var xmlDoc; var xmlhttp = new window.XMLHttpRequest(); xmlhttp.open("GET",xmlFile,false); xmlhttp.send(null); xmlDoc = xmlhttp.responseXML.documentE... 阅读全文