Two Laptop Bag*
The moose likes HTML, CSS and JavaScript and the fly likes Saving Data from HTML  FORM to text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Saving Data from HTML  FORM to text file" Watch "Saving Data from HTML  FORM to text file" New topic

Saving Data from HTML FORM to text file

Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Can anyone tell me is there a simple way so
I can just fill some data in a HMTL Form and it get saved in a
simple .txt file on the pc.
I know its possible to post data to other ASP or JSp pages but I don't want to involve any server.
I just want to use some script or something to do this.
thanks in advance

SCJP 1.2
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Server side language is the only real way to do it.
If you are only planning on using Internet Explorer to do this then you can look into using active-x controls that can perform this action. Search google for "active-x save text file javascript" and I am sure you will get what you are looing for.
I agree. Here's the link:
subject: Saving Data from HTML FORM to text file
Similar Threads
Can't get Text value from ENCTYPE=multipart/form-data
I need help with this situation regarding form post parameters
How to convert a webpage to MS. word
passing form values to .txt file
XML and dynamic data