Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Textarea not being passed OK through form

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
cross posted...answer here: https://coderanch.com/t/114775/HTML-JavaScript/Textarea-not-being-passed-OK
Eric
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic