日期:2014-05-16 浏览次数:20684 次
if (xmlrequest.readyState==4){
window.alert(xmlrequest.status);
var schools = xmlrequest.responseXML.getElementsByTagName("school");
var con="<table width='100%'><tr>";
if(schools.length>0){
for(var i=1;i<=schools.length;i++){
window.alert(schools[i-1].childNodes[0].nodeValue);//正常
window.alert(schools[i-1].childNodes[1].nodeValue);//取不出值!!