I have implemented your suggestion of using an array to manage strings keyed on an index and that's worked perfectly for me!
Thanks for your help Rossko On Oct 23, 2:27 pm, Rossko <[email protected]> wrote: > > When I get an update I try to find the div's using > > document.getEllementById() but I cannot reference them as they are > > hidden. > > It's not so much that they are hidden, as they don't exist. There's > only one infowindow, which is created (and destroyed) when needed. In > the meantime your infowindow contents exist only as javascript > strings, your 'html' variable. > > Another option would be to maintain a seperate array of your 'html' > strings, updating as and when. On marker click, retrieve the relevant > index for content. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
