Guys I need to pop open a window onunload="". I can do this in the body tag fine no problem.
Unfortunately the page I need to do this on is a form. So if they fill out the form and submit they move on to the thank you page. If they do not submit the form however on close of the form page launch pop up.
Where trying to ask if we gave them all the info they needed to fill out the form if not, what can we do to make it better type thing.
So my problem is if I use onunload="" no matter how the form page ends, successfully or closed it launches the pop up.
Does anyone have a javascript workaround for this?
----------------------------------------
Unfortunately the page I need to do this on is a form. So if they fill out the form and submit they move on to the thank you page. If they do not submit the form however on close of the form page launch pop up.
Where trying to ask if we gave them all the info they needed to fill out the form if not, what can we do to make it better type thing.
So my problem is if I use onunload="" no matter how the form page ends, successfully or closed it launches the pop up.
Does anyone have a javascript workaround for this?
----------------------------------------