> Is it possible to reference an HTML element that exists inside an info
> window prior to the marker click event?

That would depend if the infowindow exists yet or not. That depends on
your code that we can't see.  Very often it doesn't exist yet.
A workaround would be to create the HTML content in the DOM
beforehand, and "park" it somewhere invisible.  Then re-use it when
you do create the infowindow.

Here's a different approach you might be able to adapt
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/a41f56c1a3063520/0b61207988fb06ad
which avoids requiring things before they are created.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to