注册 | 登录 | 设为首页 | 加入收藏
您当前的位置:飞翔学院-IT中国 → 编程开发Asp → 文章内容

file控件如何reset

作者:IT 来源:不详 发布时间:2007-9-1 23:31:06
<body>
<FORM name="form1">
方法1:<input type="file" name="f"><input type=button value=reset onclick="f.outerHTML='<input type=\'file\' name=\'f\'>'">
</FORM>


<FORM name=form2>
方法2:<input type="file" name=f2>
<input type=button value=reset onclick="f2.select();document.execCommand('delete')">
</FORM>
</body>


http://www.itcnw.com/
  • 打印文档
  • 推荐好友
  • 返回顶部
  • 增大字体
  • 减少字体
关于本站 | 工作机会 | 合作网站 | 广告服务 | 市场合作| 联系我们 | 抽奖活动
版权所有: 武汉威俊科技有限公司 Copyright 2005-2007 www.ITCNW.COM All rights reserved