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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controlling other windows

Status
Not open for further replies.

Bignewbie

Programmer
Feb 22, 2001
351
PH
hey guys,

how can i bring focus to a primary window from a secondary window? i mean i have a primary window that launches secondary window. what i would to do is put a button on the secondary window that will make the primary window appear on top of it?

any ideas?


biggie
 
I think
Code:
 self.opener.focus()
will do it.
 
nope sori to tell you Klae, it didn't worked! seems to me that when the browser reads the code doesn't execute it and stops dead in its tracks. im at a loss of what to do.

any other suggestions?


biggie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top