Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q159 How can I change the focus from one window to the other window (and vice versa) by clicking on an link or image, but keep both windows open?

You are here: irt.org | FAQ | JavaScript | Window | Q159 [ previous next ]

Using the previous example:

In the main window:

<A HREF="javascript:myWindow.focus()">show popup window</A>

In the popup window:

<A HREF="javascript:opener.focus()">show main window</a>

Feedback on 'Q159 How can I change the focus from one window to the other window (and vice versa) by clicking on an link or image, but keep both windows open?'

©2018 Martin Webb