当前位置:
代码迷
>>
J2EE
>> input:file,file.value在firefox里不能获取资料路径了
详细解决方案
input:file,file.value在firefox里不能获取资料路径了
热度:
22
发布时间:
2016-04-22 01:11:51.0
input:file,file.value在firefox里不能获取文件路径了?
我在ie浏览器里程序file.value可以得到路径,但在firefox里只能得到文件名,这是为什么
------解决方案--------------------
你说的是不是通过javascript得到file控件的value?
------解决方案--------------------
file.value显示的是input框中的文本值,你检查一下在IE和FireFox里面选择完后的值是否不同。
我在我的本地试了一下,两个都是文件的绝对路径。
查看全文
相关解决方案
IE firefox 跟chrome执行js的区别
IE8怎么让input file 的地址框可编辑
input type=text 替空时 ,为什么不为null
【jsp】jsp中java代码段中怎么获取本页面<input>标签的值
关于在struts2中怎么将.action加入到web.xml中的<welcome-file-list>上 急
textarea和 input 展示的有关问题
<input text>怎么禁止键盘输入但允许控件输入
midlet.platformRequest("file:///.");打开本土Flash文件
linux上在后台得到<input>框值的奇怪有关问题
<input type="file" name="filename">该如何处理
struts2 action中除了返回SUCCESS ERROR INPUT NONE LOGIN 能自定义返回值以实现更多的转向么?具体应该如何做呢
<input type="file" name="filename">解决方法
为何多了一个输出,结果就不一样了呢?(File)解决办法
struts <html:file> 怎么让前面的框消失,先谢过了
/*Begin Snippet:file*/。刚接触java,这句在类前面,是啥什么意思呢?多谢您了
return name.endsWith有用 return file.isDirectory没用 咋回事
请问 java.io.File 中创建目录
资源文件(Resource File)和数据库(Database)哪个美
资源文件(Resource File)和数据库(Database)哪个好?该如何解决
document.getElementById("input").checked;转换成Jquery,如何写
自定义控件,怎么输出<input type="hidden" />的input
input=file下传图片过大的有关问题
input type="file" 下传文件有关问题
怎么在前台判断 input text 页面的值
input file 多个与此同时使用,怎样区分
请问怎么限制<input type="text">的最小和最大值
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'FreeTextBox' or one of its dependencies. 磁盘空间不足,该如何解决
Parser Error Message: The file '/MasterPage.master' does not exist.解决办法
input type="radio"圆圈大小如何控制呢
向高手:The process cannot access the file 'X:\X.XXX' because it is being used by another process