I'm using this jQuery script:
http://ubilabs.github.io/geocomplete/
I read the documentation but it's quite minimal. There are links to the original API but the syntax is different and I can't make something out of it.
I would like to know how to retrieve the street_number as a result.
This is how I did to get the formatted address:
$("#geocomplete").geocomplete().bind("geocode:result", function(event,result) {
alert(result.formatted_address);
});
I just would like to do the same with the street_number.