I am currently trying to code a HTML web using javascript.
There's 2 comboboxes in the screen.
The first combobox allows user to select a country.
After the country being selected, the 2nd combobox show the cities list of the selected country.
I've been googling around but cannot find any clues how to put Geonames webservice in my javascript.
I've been reading in Geonames websites but still didnt understand how i should use webservices ? what service should i use ? etc.
Is there anyone can explain or give me any clues ?
Thank you
Joined: 23/07/2007 18:28:40
Messages: 138
Location: France
Offline
Webservices are usually called via "ajax" to dynamically populate HTML elements (select, ul, etc) without reloading the full page.
Very easy to implement using a javascript library such as jQuery :
http://jquery.com