Hi

I have a javascript function which allows me to open an InfoWindow
from outside the map. The function works fine. (For example, see
http://www.wesportactivityhub.org.uk/, click Badminton, check "Display
as list" and then click on any club) .

I'm working on a new version of this app which, after the InfoWindow
is open using method above, it uses javascript to grab a div by id
from within the InfoWindow and changes some of this data. This works
fine except the very first time. It will then work from then onwards.

Having stepped through the code using Visual Studio 2008, after my
function which triggers the click event on the point is fired, the
contents aren't available using getElementById. At the end of my
function, I'd expect that all to happen but further Google Maps
javascript runs (which I can't make any sense of). I guess this is
what actually puts the InfoWindow contents on the page so the DOM can
access.

After the first time, as I said, it works fine.

Can anyone think of any way to sort the problem so it works every
time?

Thanks for any help.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to