My code
html:
input type='text' name='Address_A' id='Address_1' placeholder='Nhập địa chỉ' autocomplete='off'
javascript:
var input = document.getElementById("Address_1");
var autocomplete = new google.maps.places.Autocomplete(input, { types:['geocode'] });
google.maps.event.addListener(autocomplete, 'place_changed', function () {
var place = autocomplete.getPlace();
input.value = name;
});
but textbox is not show incorrect. Something wrong?
name?