On Mar 16, 5:57 am, AdRock <[email protected]> wrote:
> I am trying to use draggable marker for a google map and it all works
> fine but what i want is to be able to put the new coordinates into a
> form so i can save it.
>
> I am having trouble getting the coords into the form.
>
> How do i get the 2 coords into my form?  I have tried:
>
> document.getElementByID("formlat").value = lat;
> document.getElementByID("formlon").value = lng;
>

Where is your map where you tried that?
It looks to me like you should get obvious javascript errors if the
variables are out of scope.
I don't see anything else wrong, but my browser is a lot better at
telling me about javascript errors.

  -- Larry

-- 
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.

Reply via email to