Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 18th, 2007, 07:19 AM
Friend of Wrox
Points: 1,075, Level: 12
Points: 1,075, Level: 12 Points: 1,075, Level: 12 Points: 1,075, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2005
Location: , , United Kingdom.
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default TEXTarea to text file

I have a html page which has textareas which are written into. i would like this data to be outputted to a text file with included headings given. heres a sample of the source code.

<tr colspan=3><h1>Popular Music Press</h1></tr>
<tr><td valign="top">ALL</td><td colspan=2>Task: de-constuct (label and explain) NME front cover</td></tr>
<tr><td valign="top">ALL</td><td colspan=2>Demonstrate: Knowledge and understanding (MIGRAIN)</td></tr>
<tr><td valign="top">ALL</td><td valign="top" align="right">Media Language (layout of print publication):</td><td><textarea rows="4" cols="40"></textarea></td></tr>
<tr><td valign="top">ALL</td><td valign="top" align="right">Institution/Industry:</td><td><textarea rows="4" cols="40"></textarea></td></tr>

<input type="button" value="Save"/>
The form should post this data from the table into a text page. Could anyone help or suggest a method, maybe through javascript.


Always ready and waiting to help!
Apocolypse2005, I'm a programmer - of sorts.
Old January 19th, 2007, 05:52 AM
Friend of Wrox
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

Hii Apocolypse2005!!

1>Put hidden form field and post those values in the next page
2>Put the form tag before the <table></table>
i.e <form><table></table></form>

hope this will help you

Cheers :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving text from ASP textarea to Access arabuafef Access ASP 3 December 26th, 2006 04:09 AM
Display text data in textarea from SQL query palvin Classic ASP Databases 0 November 29th, 2005 05:44 PM
Align text in textarea crmpicco HTML Code Clinic 27 June 14th, 2005 08:26 AM
How to insert text into panel with out textarea JOptionPane Java GUI 5 May 6th, 2005 03:35 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.