Situation: an admin settings.php page with a dropbox with country names and iso codes. There is also a text field which holds coordinates. These coordinates represent position data for a given country based on this api:
https://maps.googleapis.com/maps/api/geocode/json?address=" + country code;
The return set of this api contains geolocation data.
What I would like to happen:
After selection of a country (onChange event) the url should be called and the geoLocation field should be filled in.
I have no clue as to how to attach an change Event to a drop down list within the admin settings.php page.