This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes reload  Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "reload  Window" Watch "reload  Window" New topic

reload Window

Raja Islam
Ranch Hand

Joined: Dec 07, 2001
Posts: 74
i am opening a child window from parent window when i reload parent window from child window using opener.location.reload(); i lost focus from the child window is it possible to reload parent window without losing focus from child window?
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
do self.focus() after opener.location.reload();
subject: reload Window