With Google Map v2, I would like to be able to trigger a function when clicking a text in the InfoWindow of a GMarker.
$(\".foo\").click(myFunction); ... marke
As far as I know, GMaps injects content into the InfoWindow programatically, so any bound event handlers on the injected elements will not fire unless you use event delegation:
$(".foo").live("click", myFunction);
See the live event handlers.