Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Focus...

Status
Not open for further replies.

PatrickGreen

Programmer
Mar 11, 2003
35
0
0
US
During my save routine using remote scripting, I pop up a new window filled with error messages (child window) and then I reload the main (parent) window, but how to I set focus back to the child window??? Is this possible.

TIA,
Patrick
 
the only way i can think of is to reload the parent from the child, and have the child focus itself:

// (in the child window)
opener.location.reload();
window.focus(); =========================================================
while (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top