Forum Moderators: open

Message Too Old, No Replies

JavaScript File Dialog

JavaScript+HTML+CSS on client side allows you initiate File Dialog!

         

galatoms

7:40 am on Jul 15, 2008 (gmt 0)

10+ Year Member



JavaScript (together with HTML and CSS) strictly on client side (without server support) allows you initiate File Dialog and store results in the specified object as shown here:
[URL="http://www.example.com/pr_fd.htm"]http://www.example.com/pr_fd.htm[/URL]
and
[URL="http://www.example.com/pr_WidgetBuilder_FileDialog.htm"]http://www.example.com/pr_WidgetBuilder_FileDialog.htm[/URL]

When user gets the file name from File Dialog, s/he can do what he wants: open, upload, save appropriate file...

[edited by: tedster at 9:18 am (utc) on July 15, 2008]
[edit reason] use example.com in code [/edit]

penders

12:31 pm on Jul 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi galatoms, I'm not sure what you are getting at? Can you explain more...

Default security restrictions on the client prevent files from being saved to the local machine?