Is it possible to save an archive from an HTML page using JS?

liunx

Guest
I need to save an HTML page from another.<br />
<br />
I have seen window.document.execCommand('SaveAs'), but I don't want to use "save as", I want the page to be saved automatically after pressing a button<!--content-->sounds like beyond the js domain....<!--content-->Anything that gives you right to save on your client's desktop without his permission is a huge security threat. There is NO browser that will allow you to do this without users permission.<br />
<br />
Unless I misunderstood your question... :rolleyes:<!--content-->if you use a server side language you can update data bases and store html in them.. you can also use text files. But thats about as close as you can get with a web language. Limitations are there so people can take over eachothers comps from websites and spreading viruses etc etc.<!--content-->
 
Back
Top