This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Textarea not being passed OK through form 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
Reply locked New topic
Author

Textarea not being passed OK through form

Adrian Peyton
Greenhorn

Joined: Jun 04, 2004
Posts: 3
Hi,
I have a situation where I have a textarea in a form. This form is passing the textarea to a new page (actually I needed it to be shown in a entirely new window so I have a bit of javascript that loads a new window and passes the textarea value in the URL)

So when the javascript encounters the textarea with values


it produces "newwindow.php?value1=abc"

and shows on page 2 as "abc"

I need to output the data entered into the textarea on page 1 on page 2, exactly as it has been typed.


It is essential that I get the form value shown on a new window, if it were to direct to the same window there is no problem as it doesn't have to be passed through the URL.

Below is my code, including the javascript.

If anyone can help, then I'd be most grateful,
Regards,
Adrian.

Below is my form with the javascript to open the new window with form values passed to it.

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
cross posted...answer here: http://www.coderanch.com/t/114775/HTML-JavaScript/Textarea-not-being-passed-OK
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Textarea not being passed OK through form
 
Similar Threads
Opening HTTPS link in same popup
How to capture close[X] function in javascript?
java Script Program
Textarea not being passed OK through form
Textarea not being passed OK through form