Extjs fileuploadfield获取全路径问题
啸明月 2011-09-22 09:02:36 我使用fileuploadfield,想要获取选择文件的完全路径
取值方法是Ext.getCmp("fileupload").getValue()
定义是:
xtype: 'fileuploadfield',
id:'fileupload',
fieldLabel:'Upload File',
buttonText: 'Browse',
width:"97%"
但是我选择了一个D盘下的一个文件的时候,显示的路径是
C:\fakepath\文件名