Re: Manipulating Popups
Anything can be done... Even naff features like a thank you message!
Are you using the "onunload=somefunction() in the body tag for the page?
Instead of using the SUBMIT button to submit the form directly, fire off a Javascript function instead that sets a flag and then submits the form. Then use the flag in your unload function to bypass the display of the message. You will need to do some thinking about how to cope with users who have Javascript disabled, otherwise, they won't be able to submit the form.
|