Adding Value into an Input Field
Posted
by McCrum
on Stack Overflow
See other posts from Stack Overflow
or by McCrum
Published on 2010-04-22T23:14:23Z
Indexed on
2010/04/22
23:23 UTC
Read the original article
Hit count: 213
jQuery
|JavaScript
Hey, I am working on an iPhone Web App using HTML & CSS. I have currently got the JavaScript/HTML5 Geolocation picking up my current location and showing me it on a Google Map using Lat & Long values. I also want to add these Lat & Long Values into the 'address' text field on the page so I can submit the details.
Here is the link: http://m.belfi.co.uk/form.html
When I click 'find me' I would like the lat and long to be added to the 'address' input field. Have no idea how to do this though :(
© Stack Overflow or respective owner