PDA

View Full Version : filter files displayed open file dialog



prakash.raman
29 Apr 2009, 9:37 AM
Hi,

I would like to know if there is a way to filter the files displayed in the file-open dialog to display only a certain types of files.

var tf = new Ext.form.TextField({inputType: 'file'})

Something equivalent to <input type='file' name='<something>' accept='text/html'> ?

Thanks.

29 Apr 2009, 9:44 AM
not with JavaScript.