wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
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...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: trying to save a file using javascript
Similar Threads
Downloading Multiple Files
Unable to run program in jdk1.2
Turn XSLT into HTML content
File Upload from form
Where do I type code?