473,386 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

window_onunlaod

Can you explain the window_onunload function ..?

I need to call some function when the user closed my pop window that was opened up using window.open()...
Thanks in advance...
Nov 22 '07 #1
3 1001
acoder
16,027 Expert Mod 8TB
See this link. What part do you not understand?
Nov 22 '07 #2
See this link. What part do you not understand?
Ya I have used the code in the same way but the function which i have called from body onunload tag, is working on pressing the close button. But if I call the same function from any other function then it is working fine...
Nov 22 '07 #3
acoder
16,027 Expert Mod 8TB
Ya I have used the code in the same way but the function which i have called from body onunload tag, is working on pressing the close button. But if I call the same function from any other function then it is working fine...
Can you show the code for the function?
Nov 22 '07 #4

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.