how to filter the file type of the file dialog??
Printable View
how to filter the file type of the file dialog??
You can't. Only afterwards, like during form submission or lost focus for the element, can you look at the value in the file input textbox, parse it, and verify the extension.
HTH