NYCPHP Meetup

[nycphp-talk] how to open choose file dialbox

John Campbell jcampbell1 at gmail.com
Wed Jan 28 10:34:07 EST 2009


On Wed, Jan 28, 2009 at 7:21 AM, birgunj birgunj <birgunjp0071 at yahoo.com> wrote:
> Dear All,
>
> i am trying to open choose file dialog box when page upload.below is my code
> which works fine in internet explorer but it did not work in firefox.

Browser vendors consider opening a file dialog with javascript to be a
security threat, and is not possible on modern browsers.  Opening a
file dialog must be user initiated.

Also, please don't crosspost.  Post to one list, and wait awhile
before posting your question to another list.

Regards,
John Campbell



More information about the talk mailing list