Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-07-2004, 12:21 PM #1
- Join Date
- Mar 2004
- Thanked 0 Times in 0 Posts
setting a file mask for a file uploading input tag
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
07-07-2004, 12:28 PM #2
- Join Date
- Jun 2002
- Thanked 250 Times in 246 Posts
I don't think you can. The file types filter differs from browser to browser. In Moz, it's only "All Files".
Tower of Hanoi Android app (Ad-FREE!)
Tower of Hanoi Android app (FREE!)
Tower of Hanoi Leaderboard
Samegame Facebook App
Samegame Facebook App Leaderboard
vBulletin 5 Floating Bar Mod
vBulletin 5 Photo Slideshow Mod
vBulletin 5 Quote Selected Text Mod
vBulletin 5 Profile Preview Tooltip Mod