function getURL(url){
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET",url,false)
xmlhttp.send()
if (xmlhttp.readyState==4)
alert(xmlhttp.status==200?"存在":"不存在")
}getURL("http://localhost/db/db.mdb")
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET",url,false)
xmlhttp.send()
if (xmlhttp.readyState==4)
alert(xmlhttp.status==200?"存在":"不存在")
}getURL("http://localhost/db/db.mdb")
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货