input type file lose efficacy
来源:互联网 发布:淘宝店铺会员怎么取消 编辑:程序博客网 时间:2024/06/14 10:51
when I use input type file to upload excel, the first time , it's okay. and then it lose efficacy.
because after I upload file , I also download it with error messages when it make mistake. earlier , I think it must be the problem of download, and so try to refresh the page, but after refresh the page use setTimeOut or close the page , it cause another problem, it may lead the download disappear.
at last , I found which I should only do is change the upload input after uploading excel
remove the original input, and then use js to make another one .like below:
$(cloestForm).submit();
$(obj).remove();
$(cloestForm).html('<a href="javascript:;" class="file">点击导入国内门店<input type="file" name="excelChina" onchange="fileType(this)"/></a>');
- input type file lose efficacy
- input type="file"
- input type=file
- input type=file hack
- input元素 type=file
- IOS6~<input type="file">
- 定义input type=file
- 模拟input type=file
- DHTML:<input type="file">
- 美化<input type='file'>
- 自定义input type=file 样式 美化input type=file 改变input type=file控件“丑陋面貌”
- input type=file 格式化难题
- 使input type="file" 不可编辑
- input type="file" 样式的模仿
- input type=file的清空
- input type='file' 上传错误
- HTML元素 - input type=file
- <input type="file">禁止用户输入
- java学习笔记3
- LNMP架构(五)Nginx负载均衡-ssl
- ORA-01261 和 ORA-01262
- el中出现java.lang.NumberFormatException: For input string
- 制作dll文件,最简单的VC串口通信。
- input type file lose efficacy
- Eclipse调试
- List,Set,Map的区别
- Linux 下的make命令
- 分享非常漂亮的WPF界面框架源码及插件化实现原理
- 用UltraISO轻松实现移动硬盘引导安装win7
- Codeforces 895B (stl binary search)
- coding遇到的疑难点--AnnotationConfigApplicationContext 使用出错
- C语言知识