Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6535440
  • 博文数量: 915
  • 博客积分: 17977
  • 博客等级: 上将
  • 技术积分: 8846
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-26 09:59
个人简介

一个好老好老的老程序员了。

文章分类

全部博文(915)

文章存档

2022年(9)

2021年(13)

2020年(10)

2019年(40)

2018年(88)

2017年(130)

2015年(5)

2014年(12)

2013年(41)

2012年(36)

2011年(272)

2010年(1)

2009年(53)

2008年(65)

2007年(47)

2006年(81)

2005年(12)

分类: Java

2009-02-23 11:12:17

   
  • 15:38
  • 浏览 (214)
  • 评论 (2)
  • 分类:
评论
2008-09-09   回复
瞎掰,纯属瞎掰。
2008-09-09   回复
try  
{  
 
  var   sFile=document.all("reportxml").value; 
  var   _http=new ActiveXObject("MSXML2.XMLHTTP");  
  _http.open("Get",sFile,false);   
  _http.send();     
  alert(_http.status);
  if(_http.status==404){
  alert('文件不存在!');
  return false;
  }else{
  document.forms[0].submit();
  }
}catch(e){  

alert('文件不存在2!'); 
return false;
}
阅读(5334) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~