• Post Reply 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:
  • Quote
  • 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.



[ June 04, 2004: Message edited by: Eric Pascarello ]
[ June 04, 2004: Message edited by: Eric Pascarello ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Adrian,

Note that Java and JavaScript share nothing but two syllables. This forum is for Java discussions, not JavaScript, but we do also have a forum dedicated to HTML and JavaScript here.
I'm going to move your post over to that forum, where it's much more likely to get an answer.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question has already been asked here.

Please do not cross-post the same question in multiple forums. It wastes people's tme when mutiple redundant conversations take place as well as the time that the moderators have to spend cleaning up after you.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try showing the code in a <pre> tag, if that does not work, then you are going to have to play with the textarea before it is submitted to the new window.

Eric
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic