oneIceHeart
小小程序员,漫漫程序路

导航

 

2013年10月15日

摘要: //判断文件是否存在function IsExistsFile(filepath){ var xmlhttp=null; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); }else if (window.ActiveXObject){ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("GET",filepath,false); xmlhttp.send(); if(xmlhttp.readyState==4){ 阅读全文
posted @ 2013-10-15 16:56 oneIceHeart 阅读(1604) 评论(0) 推荐(0)