zeke20
asked on
Executing Javascript Function on Browser Close
I want to invoke/execute a Javascript Function to perform some DB clean-up activity when a user closes his IE browser by clicking on the X (i.e browser close) in the upper right-hand corner of the browser.
Can you give me some idea how I can accomplish this?
Thanks
zeke20
Can you give me some idea how I can accomplish this?
Thanks
zeke20
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry for worry enter the comment
it's confused you
I am very sorry
some suggestion for your question
using unload event?!
it's confused you
I am very sorry
some suggestion for your question
using unload event?!
using html under below
<body ... onload="alert('welcome')" onunload="alert('byebye')" >
replace alert function to your java script function
<body ... onload="alert('welcome')" onunload="alert('byebye')"
replace alert function to your java script function
MessageBox.Show(Today.ToSt