Online Shopping : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to
Did You Find This Entry Useful?

7 of 23 people (30%) answered Yes
Recently 5 of 10 people (50%) answered Yes


How to Restrict the file types(*.dat,*.txt) in file open dialog box?

Apr 8th, 2008 00:01
ha mo, Colin Fraser, Rajashekhar Solabannavar,

I don't believe that you can get that much control over what is 
essentially browser functionality with Javascript. You may want to try 
something else, like a server-side generated open dialog box. However, 
I would think that this may prove impossible, given the increased need 
for user confidence in the security of programs and scripts they may 
find on the Web.