programmer@blore
17 Oct 2007, 10:10 PM
Hi all,
I am facing a problem in IE.When I try to reset the vaue of file upload field (using setvalues(''))after submit it does not reflect this in IE but in FF it works perfectly fine.
uploadForm.add(
hedit_objFile = new Ext.form.TextField({
allowBlank: true,
id: 'file_path',
inputType: 'file',
name: 'upload_file',
fieldLabel: 'File',
// disableKeyFilter : true,
width:243,
height:22,
blankText: 'Please choose a file'
})
);
and after submit i m using hedit_objFile.setValue('');
Please help meto solve why it is not working in IE and how to overcome this...Thanks in advance
I am facing a problem in IE.When I try to reset the vaue of file upload field (using setvalues(''))after submit it does not reflect this in IE but in FF it works perfectly fine.
uploadForm.add(
hedit_objFile = new Ext.form.TextField({
allowBlank: true,
id: 'file_path',
inputType: 'file',
name: 'upload_file',
fieldLabel: 'File',
// disableKeyFilter : true,
width:243,
height:22,
blankText: 'Please choose a file'
})
);
and after submit i m using hedit_objFile.setValue('');
Please help meto solve why it is not working in IE and how to overcome this...Thanks in advance