Two Laptop Bag*
The moose likes HTML, CSS and JavaScript and the fly likes Enabling file save option from inside a html page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Enabling file save option from inside a html page." Watch "Enabling file save option from inside a html page." New topic
Author

Enabling file save option from inside a html page.

sundaresan balasubramanian
Greenhorn

Joined: Dec 05, 2004
Posts: 1
Hi,

I have a page, that displays a table with contents.
There is a save button. On clicking the save button i need to save the page on my local system.
I have implemented it using the document.execCommand('SaveAs')
It seems it will work only for IE.
Are there any other ways of implementing the "save as" option so that it works on all browsers.

Thanks,
Sundar
 
wood burning stoves
 
subject: Enabling file save option from inside a html page.
 
Similar Threads
saving a html file as word document on click of a button
Common Functionality in all the pages.
save the web page content in MSword
why does empty folder follows saving an ".htm" file?
How do i save a file that has been generated using JSP in excel format .