davidklonski
07-07-2004, 12:21 PM
Hello
I was wondering whether it is possible to set a file mask for the file selection dialog window that is opened when the <input type="file"> tag is used.
When opening the file selection dialog, the default should be 'Photo files' (and the mask should include *.bmp, *.jpg, *.jpeg, *.jpe, *.png, *.gif, etc). 'All files (*.*)' should be second choice and there should be no selection choice for HTML
The default mask is:
'All files (*.*)'
'Pictures (*.gif, *.jpg)'
'HTML (*.htm, *.html)'
thanks in advance
I was wondering whether it is possible to set a file mask for the file selection dialog window that is opened when the <input type="file"> tag is used.
When opening the file selection dialog, the default should be 'Photo files' (and the mask should include *.bmp, *.jpg, *.jpeg, *.jpe, *.png, *.gif, etc). 'All files (*.*)' should be second choice and there should be no selection choice for HTML
The default mask is:
'All files (*.*)'
'Pictures (*.gif, *.jpg)'
'HTML (*.htm, *.html)'
thanks in advance