Tried that but I get the same result. On Jun 2, 5:14 pm, meetamit <[email protected]> wrote: > Try alerting infowindow.getContent() > > On Jun 1, 11:02 pm, Hadyn Dickson <[email protected]> wrote: > > > > > > > > > Hi everyone, this is probably straight forward but I cant seem to get it > > working. > > > I have an infowindow on my map which is attached to a marker and the > > infowindow contains only the following html <input type="text" > > value="before"> > > I then have the following javascript in my head > > > google.maps.event.addListener(infowindow, 'closeclick', function() { > > alert(infowindow.content); > > }); > > > If I click my marker and change the value of the input field to "after" and > > click the close button on the infowindow I get the alert but it says <input > > type="text" value="before"> when I should have my after text in it. > > > What am I doing wrong, its driving me crazy! > > > Thanks
-- 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 [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-js-api-v3?hl=en.
