File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes child window closing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "child window closing" Watch "child window closing" New topic

child window closing

Antonio Giovanni
Ranch Hand

Joined: Jun 27, 2005
Posts: 85
Hi everybody,..

Got some question and i know you guys can give me a better solution

ok, i open a child window using

Now what i want to happen is, whenever an event is generated on the parent window i want to close the childwindow.
I am presently doing this by having something like the following in EVERY link on the parent window:

This is getting my thing done, but well having this for every link on the parent window does not sound like a good solution

Any better solution for this ??

Thanks guys
Antonio Giovanni
Ranch Hand

Joined: Jun 27, 2005
Posts: 85
Sorry for all the "& lt; " they actually mean <
I agree. Here's the link:
subject: child window closing
It's not a secret anymore!