> 1. The total form includes a map. The user search for a location. > Get's a marker. Then choose file to upload and add some text in the > text fields. Where in the Javascript should I have the hidden > formfields or shhould I have them in the javascript or in the <body>- > part of the site with the other form fields?
Put your hidden <input> tags in the form you want the user to use for file upload etc. Give the tags some unque id= so you can find them easily from javascript. When your javascript has got the right lat/lng, use document.getElementById() to set the values of the hidden fields. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
