Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection betweeen two browser tabs

 
Sebastian B. Ecker
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic