请问
通过JS
在Firefox如何打开本地文件 我用"<a href = 'file:///C:/logging.txt'>"
+ "open"+ "</a>"
在IE下可以执行“另存为”
但Firefox就不行 提示错误是
错误: uncaught exception: Load of file:///C:/logging.txt denied. file://///C:/logging.txt这样也不行
ftp://C:/logging.txt偶尔行一下
在Firefox中地址栏中输入file:///c:/1.jpg就可以
通过JS
在Firefox如何打开本地文件 我用"<a href = 'file:///C:/logging.txt'>"
+ "open"+ "</a>"
在IE下可以执行“另存为”
但Firefox就不行 提示错误是
错误: uncaught exception: Load of file:///C:/logging.txt denied. file://///C:/logging.txt这样也不行
ftp://C:/logging.txt偶尔行一下
在Firefox中地址栏中输入file:///c:/1.jpg就可以
再想想file框,FF也是支持的吧,它就使用file:///的路径格式,FF支持这个就不可能不支持file:///了。
例如
<a target="blank" href="attach/1_1_5总6计.doc">1_1_5总6计.doc</a>
这样就暂时性解决问题了