; catch(e){}
}
}
}
//不能创建XMLHTTP类时返回
if(! xmldoc){
return false;
}
//调用CheckState函数
xmldoc.onreadystatechange = CheckState;
xmldoc.open(''GET'',url,true);
xmldoc.send(null);
}
//状态检测
function CheckState(){
btnSty(''loadifo'','''')
//收到完整的服务器响应
if(xmldoc.readyState == 1){
$("loadifo").innerHTML = "连接服务器"
}
else if(xmldoc.readyState == 2){
$("loadifo").innerHTML = "开始加载数据"
}
else if(xmldoc.readyState == 3){
$("loadifo").innerHTML = "正在加载数据"
settime(loadtime)
}
else if(xmldoc.readyState == 4){
//HTTP服务器响应值成功
if(xmldoc.status == 200){
//将服务器返回的字符串写到页面中ID为showdiv的区域
$("loadifo").innerHTML = "加载完成"
var response = xmldoc.responseText;
settime(ifodis)
$("prolist").innerHTML = response;
}
else{
$("loadifo").innerHTML = "错误"+xmldoc.statusText+"请重新选择";
}
}
}
</script>
<style type="text/css">
<!--
body {
margin: 0px;
padding: 0px;
font-size: 9pt;
}
-->
</style>
</head>
<body onload="loadurl(''CHXX0138'')">
<div>
<select onchange="loadurl(this.value)">
<option value="CHXX0138" selected="selected">武汉</option>
<option value="CHXX0097">南昌</option>
<option value="CHXX0502">海口</option>
<option value="CH