Wild guess since you haven't bothered posting a link to the problem
page.
> var infoWinHtml = <textarea class="infoWindowTextArea"
> name="infoWindowHtml" id="infoWindowHtml" onchange="saveInfoWin(this)"
> cols="80" rows="4"></textarea>';
That is just a text string. It won't get rendered as real <tags>
until after the first time you open an infowindow. Any attempt to
document.getElementById("infoWindowHtml") BEFORE the infowindow has
fully rendered will fail, no suprise there.
Rendering an infowindow seems to be an asynchronous process, and
certainly takes a 'long' time in programming terms, as the map might
need to be panned around etc.
Suggested workaround, open and then close an infowindow when you first
build the map, and make sure it contains an example of the tag id you
want. Bear in mind there is really only one infowindow, which gets
moved around, updated, and hide/show as needed after it is first
built.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---