form submission -> 2 windows
Hi, I have a form which opens a new window after submission (target=_blank)
I would like the current (form) window to also change though.
The current window just needs to change to a confirmation page.
The new window (target=_blank) needs the variables from the form.
I suppose I have to use onsubmit for this, but haven't been able to figure it out exactly.
If the form results are targetted to a new with target="_blank" can I then put something like :
<body onload="parent.location='confirmation.html''' > in the new window to refresh the old page with a confirmation page?
I tried that but it doesn't seem to do anything, so I need to come up with something else...
in the form tag.