-
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.
Any ideas?
-
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...
-
SitePoint Zealot

onsubmit="parent.location...
in the form tag.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks