posted 19 years ago
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.