Results 1 to 2 of 2

Thread: How to Bring the Open File Dialog using Javascript?

  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How to Bring the Open File Dialog using Javascript?

    Hi,

    I am the New Member of DD Forum.

    Can you please tell me the answer the following..?

    * How to bring the Open File Dialog Box using Javascript?
    * Can we select multiple files at a time from the File Dialog.??

    Please answer me as soon as possible.

    Thanks in advance
    Ganesh.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Javascript is not required to bring up the open file dialogue, that can be done with simple HTML:

    HTML Code:
    <input type="file" name="bob">
    But, multiple files? This looks promising. It requires the user to choose each one separately, but otherwise simplifies things considerably:

    http://the-stickman.com/web-developm...-file-element/
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •