I'd like to have a form for people to sign up, that when they click on submit, a new window 200px by 200px pops up and that would have the actual information in it from the form posting. Suggestions to where I can find the info on this?
thanks
kaled
8:57 am on Jun 7, 2006 (gmt 0)
Create the popup using the onsubmit event and specify the name of the popup as the form's target. However, I'm not sure what effect popup-blockers would have. (Also, be sure to return true in the onsubmit event code.)
Kaled.
castanet
3:32 pm on Jun 8, 2006 (gmt 0)
Use a php form processor. There are loads that return the form comments after submission.
whoisgregg
3:50 pm on Jun 8, 2006 (gmt 0)
I'd suggest using target="_blank" in the <form> element, then have javascript in the target page that resizes itself. It will be less complex and will still open a new window for non-javascript folks.