Click to See Complete Forum and Search --> : save page on local disk with 3 form data


jo_luis
05-08-2003, 01:07 PM
I need to save a page on local disk which have 3 forms, and i need that the data in form will be saved to.
i have a script which save the page but not the data of the form,

here is the script
var isReady = false;
function doSaveAs(){
if (document.execCommand){
if (isReady){document.execCommand("saveas");}
}else{
alert('Feature available only in Internet Exlorer 4.0 and later.');
}
}

Jona
05-08-2003, 01:18 PM
It's not actually good to do this, but the only way I could think of doing it would be using the FSO and ActiveX to create a .txt file with the form data in it, and you can do that, but the user must agree to allow the action to take place; and it also may not work on your server (which is another common problem).