I've been playing with google's map api and wanted to combine it with a submission form to include lat & long of map coordinates with the form submission.
So far it all works except grabbing the variables and sticking them in a text field. I can get them to show up on an alert (for testing only) but not in the form field. It's probably something stupid since I'm not as familiar with Javascript as a should be.
Rather than post the code here, you can see the source at a prototype page:
Any help from this knowledgeable group would be greatly appreciated !
So far it all works except grabbing the variables and sticking them in a text field. I can get them to show up on an alert (for testing only) but not in the form field. It's probably something stupid since I'm not as familiar with Javascript as a should be.
Rather than post the code here, you can see the source at a prototype page:
Any help from this knowledgeable group would be greatly appreciated !