*
The moose likes HTML, CSS and JavaScript and the fly likes Calling parent function when user closes child window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Calling parent function when user closes child window" Watch "Calling parent function when user closes child window" New topic
Author

Calling parent function when user closes child window

Bhavik Patel
Ranch Hand

Joined: Jul 12, 2004
Posts: 155
I am opening a child window from parent window as a Pop UP Window.Child window is a Modal Window.I want to call a function of parent when user closes child window.How to do that???
Thanks...


SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
Bhavik Patel
Ranch Hand

Joined: Jul 12, 2004
Posts: 155
never mind ...i got it...window.opener.test()
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling parent function when user closes child window
 
Similar Threads
parent window notification
refresh parent window on child window close
data from Child window to parent window
pop in IE vs Firefox
parent window notification