ARACK04
asked on
Fire function before close
I'm trying to get some javascript to run before the user closes the form, and I'm using onbeforeunload, but it's firing on postbacks, in addition to when the form closes.
Is there a way to get this script to only fire when the form is about to be closed.
Is there a way to get this script to only fire when the form is about to be closed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.