I want to use button in InfoWindow in Mapplet.
That is for saving additional info from InfoWindows.
But it does not work.
///////////////////////////////////////
var map = new GMap2();
var marker = new GMarker(new GLatLng(56,37));
map.addOverlay(marker);
var mess = "It works";
marker.openInfoWindow("<input type='button' value='Test'
onclick='alert(mess)'>");
///////////////////////////////////////
Alert does not work after pressing the button. Why?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---