the creation of infoWindow is asynchronous? Will any event occur when
the infoWindow is created?

On 12月17日, 下午9时41分, "warden [Andrew Leach - Maps API Guru]"
<[email protected]> wrote:
> On Dec 17, 1:16 pm, Pacino <[email protected]> wrote:
>
> > code as follows or could be accessed 
> > throughhttp://www.blueforge.org/sandbox/map2.html.
> > the alert part is expected to get the element in side the
> > openInfoWindowHtml, but fails and returns NULL. Any idea? thanks
>
> It's because when the browser does the alert, the infoWindow hasn't
> been created and the "panel1" div doesn't exist in the DOM.
>
> If you wait until the infoWindow is created, the alert shows "[object
> HTMLDivElement]"
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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