I use the following code to try to get a browser make the OS only display certain file types when a user browses to upload a file.
<input type="file" name="upload" id="upload" accept="image/jpeg, image/png">
But I tried this in Firefox 9 but it doesn't work. It also doesn't work in IE, but it's not supported there yet. Is my syntax wrong? Or does Firefox 9 just not support this?
w3schools says it should work in firefox and others (http://www.w3schools.com/TAGS/att_input_accept.asp)