Wrap the infowindow HTML in an element that has an id:
<div id="myInfoWindowHtml">Your infowindow html here</div>
Now you can use:
getElementById('myInfoWindowHtml') to access that element and it's
contents.
Martin.
On 4 Dec, 12:17, nou <[EMAIL PROTECTED]> wrote:
> hello
>
> I have created a function that places a marker on the map. The
> function accepts 2 parameters:
> 1 - some HTML to show in the info windows when it opens over a
> specific marker and
> 2 - a location where to place that marker
>
> now ... when the infoWindow opens I would like to be able to do things
> on the HTML that I have associated to the marker (see point 1). How
> can I address that HTML?? does the element containing my HTML have a
> particular id or something?
>
> cheers
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---