Javascript Search Dialog

  • Thread starter Chris Moltisanti
  • Start date
C

Chris Moltisanti

Hi,

Im am going write a file to the users hard disk using Java, but I want
to be able to let the user select what directory they would like to
save the file to.
Is it possible to use javascript to open a search dialog where the user
will specify the directory?

Thanks,

Chris
 
E

Elegie

Chris Moltisanti wrote:

Hi,
Im am going write a file to the users hard disk using Java, but I want
to be able to let the user select what directory they would like to
save the file to.
Is it possible to use javascript to open a search dialog where the user
will specify the directory?

AFAIK, not in a normal security environment; the closest you can get is
probably with the <input type="file"> dialog, which however does not
select a directory, but a file.

If you're in a secure environment, then check your browser extended
capabilities; for instance, in IE scripting an ActiveX object should be
all right, and in Mozilla I'm pretty sure that the framework should
offer some appropriate dialogs.

If you're to write a file in Java, then you can also probably do it in Java.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top