How to define path/fileName string using JS?

M

Martin Mrazek

Hi,

probably very simple answer to this question, which I cannot find...

I have long HTML form with possibility to save filled values on
clients HD (if he or she doesn't want to fill and post at once). I
develop it only for IE, I used fileSystemObject. So far the path and
name of the saved file was fixed like

var pathName="c:/incompletedFilling.xml";

Now I need to generate the pathName string with use of something like
a SaveAs dialog box (and the Open dialog when loading values into HTML
form).

Can anybody tell how to do this cursed simple thing? :)

Remark: The document.exeCommand("SaveAs") probably doesn't help,
because I don't need to save the page itself! I just want to define
the path/fileName string!

thanks
Martin
 

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
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top