On Jan 14, 4:19 pm, ast3rion <[email protected]> wrote:
> Hi everyone,
>
> I'm having this problem only with Internet Explorer (on FireFox and
> Chrome works nice) my version of IE is 8.0.6001
>
> The app should work like this:
>
> Select a state from the combo "Estado" --> click on the map to add a
> marker
> - The fields "Latitud" and "Longitud" are filled with the lat and lng
> values of the marker
> - If click on the map again nothing should happend (only one marker is
> added)
> - If the marker is dragged the lat and lng change according to the new
> position of the marker
>
> On IE, when i click on the map sends the "Unknown runtime error" then
> adds the marker but not the lat and lng values
> If click on the map again, shows the same error and once again a
> marker is added and no lat and lng values :(
> And when the marker is dragged theres no change on lat and lng values
> (well there wasn't a value from start....)
>
> This is the link to the app:
>
> http://camacho.ws/maps/enviaForm.php
IE doesn't like this:
function updateMarkerPosition(latitud) {
document.getElementById('jelat').innerHTML = [
latitud.lat(),
latitud.lng()].join(', ');
}
<input type="text" name="jelat" id="jelat"/>
I don't think <input> tags work with innHTML in IE:
http://msdn.microsoft.com/en-us/library/ms533897(v=vs.85).aspx
-- Larry
>
> Hope i explain myself clearly and someone could help me. :)
>
> Thank you all
> Ivan
--
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.