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

How to identify browser instance?

Status
Not open for further replies.

jagan

Programmer
Jun 11, 2001
3
0
0
US
How to differentiate between the browser instances when I have two or more browser window opened? Does JavaScript have any object or property to that returns the ID of each browser instance? or is this possible by any other means? Please let me know asap. Thanks in advance.

Jagan
 
Don't think they can communicate if you open them separetly (for instance, clicking on the Internet Explorer icon twice).

If one of the windows opened the other, they can communicate:

newwin=window.open("page.htm")

now the window that opened it can use newwin.whatever to communicate

page.htm can reference the original page by using:

opener.whatever jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top