If I use
<input type='button' onclick='addlisting(this.form)' value='Save'>
AND then,
function addlisting(form)
{
map.closeInfoWindow();
var location_name = form.location_name.value;
alert(location_name);
}
It works in FireFox, but not in IE, Chrome
URL: http://www.sdslabs.org/gmap/geoAdd.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---