Skip to content

Instantly share code, notes, and snippets.

@mdb
mdb / gist:1037772
Created June 21, 2011 12:39 — forked from gsf/gist:1036573
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>');
});
});