disable onunload if user submits the form only.
I wonder if any one has any idea as i am a little new to j cripts.
The page has a form and this page a onunload script that always run if the user exists this page.
I do not want the page to execute this onunload script if the user submits the form.
I have a function that runs once the user submits this form to verify the data and i am sure i can add a small function to disable the onunload if this script runs.