• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Getting data from the other window or tab

 
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I need a idea for getting map data from other browser window.

my use case as below:
1: User click on the link which open the map in new tab or new window.
2: user will mark the point on the map.
3: I need to get that point and other details in the first tab or window.

API for getting data from the map is provided by the google MAP
But how to get the map object which is in the different window.


Please suggest how i can achive this

Thanks
Chiru
 
author & internet detective
Posts: 42148
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you open the new window, the JavaScript function to open the window should give you a reference to the window. Then you can use it to get access to the other window's DOM.
 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:When you open the new window, the JavaScript function to open the window should give you a reference to the window. Then you can use it to get access to the other window's DOM.



Here there is an example of what Jeanne was saying: http://www.w3schools.com/jsref/prop_win_opener.asp
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic