Hi
I am using the <INPUT TYPE="FILE"> component to upload files. When the "Browse" button is clicked, a small window for file uploading appears. I need to change the file types listed in the window. I tried using the ACCEPT attribute as <INPUT TYPE="FILE" ACCEPT="TEXT/HTML">, but this did not restrict the file types.
How can I restrict the file types shown in this window, so that the users are not allowed to select any file type other than what is intended to be uploaded?
Pls help.
Thanks in advance,
-Senthil.
I am using the <INPUT TYPE="FILE"> component to upload files. When the "Browse" button is clicked, a small window for file uploading appears. I need to change the file types listed in the window. I tried using the ACCEPT attribute as <INPUT TYPE="FILE" ACCEPT="TEXT/HTML">, but this did not restrict the file types.
How can I restrict the file types shown in this window, so that the users are not allowed to select any file type other than what is intended to be uploaded?
Pls help.
Thanks in advance,
-Senthil.