amostajo / geo-location-javascript

Automatically exported from code.google.com/p/geo-location-javascript
0 stars 0 forks source link

Can't set ".getElementById.value" from success_callback function #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Made INPUT as <input type="text" id="latitude" name="latitude">
2. In success_callback function tying 
document.getElementById('latitude').value = p.coords.latitude.toFixed(10);
3. See what getElementById have not worked.

What is the expected output? What do you see instead?
No output. Only error_callback function execuded.  

What version of the product are you using? On what operating system?
iPad (iOS 3.1.2) but on iPhone with iOS 4.2 it works.

how i can send latitude and longitude in PHP, if i cant set hidden inputs in 
form.

Many thanks and sorry from my English =)

Original issue reported on code.google.com by OrionD...@gmail.com on 1 Nov 2010 at 8:57