This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "reload  Window" Watch "reload  Window" New topic
Author

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();
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: reload Window
 
It's not a secret anymore!