Rossko,

Thank you for the answer. Yes, I have considered that but how do I get
the lat/lng-varaible outside the showAddress()-function?

/Nimrod

On 26 Apr, 01:01, Rossko <[email protected]> wrote:
> > I'm reusing a script that lets the user search for a location and then
> > also drag the marker to a specif place if needed. After pinpointing
> > the locating the user will also add additional text into other forms
> > and the (s)he should submit the form. I would then like the lat and
> > lng to be passed to the PHP-script.
>
> Why not just add your confirmed/user-adjusted lat+long to hidden
> fields on that other form the user has to fill in?
> If you give the hidden elements unique id=xxx it's easy to update them
> from javascript.
--~--~---------~--~----~------------~-------~--~----~
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