<script src=”http://maps.googleapis. com/maps/api/js?key=AIzaSyCHB- 46cTJI56JgIi6kyKfG4CW7l5BclF4& sensor=false&libraries=places“ ></script>
<script src=”js/jquery.geocomplete.min. js”></script>
<script>
$(function () {
$(“#location”).geocomplete({
details: “.geo-details”,
detailsAttribute: “data-geo”
});
});
</script>
<input type=”text” name=”location” id=”location” class=”location form-control” placeholder=”Enter Location” value=”<?php echo $location; ?>” required=””>