Reputation: 41
I am trying to open a file using <input type="file" ...>
and display it as text. I want the dialog box that pops up to open the file to show a particular extension of the file like ".txt" or ".jpg" instead of "All Files". how can I do that using javascript alone?
Upvotes: 1
Views: 216