Skip to content

Instantly share code, notes, and snippets.

@mdb
Forked from gsf/gist:1036573
Created June 21, 2011 12:39
Show Gist options
  • Save mdb/1037772 to your computer and use it in GitHub Desktop.
Save mdb/1037772 to your computer and use it in GitHub Desktop.
phlapi
// possible ideal for handling sanitation districts
var address = $('#addressInput').val();
phl(address, 'http://some.api.url' function(districts) {
$.each(districts, function(index, value) {
$('ul').append('<li>'+value+'</li>');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment