aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Connection betweeen two browser tabs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Connection betweeen two browser tabs" Watch "Connection betweeen two browser tabs" New topic
Author

Connection betweeen two browser tabs

Sebastian B. Ecker
Greenhorn

Joined: Nov 22, 2006
Posts: 9
Hi guys,

I am wondering if you guys could tell me what to do to build up a connection between two browser tabs. It means there is tab no 1 with control buttons and another tab (no 2) with the result set presentation. Now I pressing the control buttons in tab 1 there should be a change in tab no 2 where another result is appearing. Is that possible?

Best wishes
Bas-t


Anyone who can't laugh at himself is not taking life seriously enough. - Larry Wall
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Hello "bas-t"-

You've been around the ranch long enough to know that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, if one of the tabs is a child window of the other one, then they can communicate with one another (the window.open call returns a reference to the child window). But if they were opened independently of one another, no.
Sebastian B. Ecker
Greenhorn

Joined: Nov 22, 2006
Posts: 9
I feel sorry for breaking the name policy. I changed it immediately. I haven't looked into the policy, that was my fault.

Thank you for your reply.

Cheers
S. Ecker
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15379
    
    6
There is no way to have JavaScript update another tab unless for some reason th browser opens up pop up windows in new tabs.

Eric
 
Consider Paul's rocket mass heater.
 
subject: Connection betweeen two browser tabs