Topic awaiting preservation: Form Issue....Ugh! (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Deep Space |
posted 02-13-2003 20:54
I've come to a bit of a roadblock. I want to submit a form and send its information via a POST......the only problem being that I want the page that I'm sending the information.....to pop up in a new window once the user has pressed submit. Thus the info posted from the form will be passed to the ASP scripts in the new win. The new window will display some of the info that was submited. The problem that I'm having with this is getting the info from the form submited into the window. Does JS allow for a new window to open like this and have values passed to it as a POST? Or am I wasting my time? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-13-2003 21:19
Just a hunch, but have you tried specifying target="_blank" in the <form> tag, much as you would for an <a> tag? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 02-13-2003 21:36
corrino: Have you tried: code: <form method="post" action="javascript: popWindow(settings);return false;">
|
Bipolar (III) Inmate From: Deep Space |
posted 02-13-2003 21:58
Slime that worked great! I was surprised that that attribute was available with a form.....I didn't even think to try that....ugh. Emp I have yet to try your way, but I'm goign to take a sec to do so. However, what I ended up doing was taking the info (removing the for entirly) and putting in a redirect page.....so the page break down would go as such..... |
Maniac (V) Mad Scientist From: New California |
posted 02-14-2003 05:40
Isn't target deprecated? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-14-2003 06:24
In XHTML, yes. Not in HTML 4.1, which I assume he's using. |
Bipolar (III) Inmate From: Deep Space |
posted 02-14-2003 17:30
In this case though I had to open the window......because I wanted to keep my site open and thus making sure the user was where he started on my site......while sending the user to the connecting partner site in a different win.....and a dif URL. So as much as I hate a new window......this was necessary. |