<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDbL602c3wuGekB0jaL92ftXF2cNtwFZDQ&libraries=places"
type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
var input = document.getElementById('txtAddress');
var autocomplete = new google.maps.places.Autocomplete(input);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<label >Address:</label>
<input type="text" name="address" id="txtAddress" class="showroom-aeras"
value="<?php echo $data_res['address'];?>" placeholder="Enter address here" data-type='address' />
<input type="hidden" id="txtLocation" data-type='location-store' />
No comments:
Post a Comment