2013年9月10日
摘要: 1一开始获取C:\fakepath\doc.xml 实际路径:D:xml\doc.xml设置浏览器获取到实际路径:interneter选项--安全-自定义级别—启用-将文件上传时包含本地路径区分浏览器 if (obj) { var file_up = document.getElementById('upload'); //ie if (window.navigator.userAgent.indexOf("MSIE") >= 1) {file_up.select(); var realpath = document.selection.createR 阅读全文
posted @ 2013-09-10 11:07 Ilin 阅读(1418) 评论(0) 推荐(0) 编辑