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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/SDhLazdfejFDR1FK.
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.

Reply via email to