Re: Updating Form Fields by Clicking on Map
mike
u link is not active as of now..
can u activate it
thanx
On 12/8/05, Mike Williams <nospam@econym.demon.co.uk> wrote:
The easiest way to populate a form is to put an "id" attribute on each
of the <input> elements, then you can write
document.getElementById("lon_form").value = LongPoint;
document.getElementById("lat_form").value = LatPoint;
Like this http://www.econym.demon.co.uk/googlemaps/opp/input.htm
Other things to note on your page:
You only need to load the API code once
Your latitude and longitude were the wrong way round:
lat is y, long is x
--
Another quick fix from
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/
0 Comments:
Yorum Gönder
<< Home