I wanted to make the Gaze lookup service an Asynchronous call (AJAX
without the X), but the problem lies in not typically being allowed to
make async calls to a non-local host. Therefore, I wrapped up the Gaze
service in a little PHP code (gaze-rest.php) that has the same API as
the actual gaze service, but acts like a 'local service'.
http://highearthorbit.com/projects/geocode/geocode.html
The page then makes a Javascript call, which gets the values from the
form and makes the async call. The returned value is put in the
textarea.
Right now I hardcoded the US and GB, but plan on extending it to
actually dynamically fill the options via a find_places_get_countries
call to Gaze.
The source is available as a link at the bottom of the page.