Reputation: 87
please check this JSFiddle at first: http://goo.gl/WiY827
After selecting it should display the complete address. Unfortunately this does not happen. Instead there are just the typed in letters shown.
I would really appreciate your help!
thanks
Upvotes: 1
Views: 41
Reputation: 10407
According to the documentation there is a event for when a result is inserted into the form called geocode:result
you need to add that to your code.
$("#input-geo").geocomplete().bind("click", function (e){
e.stopPropagation();
}).on("geocode:result", function(event, result){
$('#message').html('Your Location: ' + $('#input-geo').val());
});
Upvotes: 1