File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes trying to save a file using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "trying to save a file using javascript" Watch "trying to save a file using javascript" New topic

trying to save a file using javascript

Soum Sark
Ranch Hand

Joined: May 31, 2002
Posts: 50
my code looks something like this"text/html","replace")
The code invokes the file dialog with a tile of "Save HTML Document" and save as type of html & text files only. How can i put all files or *.* in the save as type dropdown ? and also can i change the title to "Save As" only ...the kind that comes up when we usually do save target as on a web page...
thanx for ur help
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
I do not think there is a way to do it...
I agree. Here's the link:
subject: trying to save a file using javascript
Similar Threads
File Upload from form
Turn XSLT into HTML content
Unable to run program in jdk1.2
Where do I type code?
Downloading Multiple Files