/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Adding Value into Input Field

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: [url]http://m.belfi.co.uk/form.html[/url]

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

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@mccrumauthorApr 22.2010 — Got it working ?
Copy linkTweet thisAlerts:
@sohguanhApr 23.2010 — 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.
[/QUOTE]


Hi can I tag your thread to ask something? You say you doing iPhone application so is iPhone SDK free? Is it using ObjectiveC instead of Java?

I am currently learning Google Android SDK so was thinking the cost it takes for me to learn iPhone application development.

For the final actual device testing, I gotta borrow from friends Apple iPhone so unlike Google Android where I can have more choices and those handsets are much cheaper also!!!
×

Success!

Help @mccrum spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...