Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Google Maps: Ajouter l'autocomplete des adresses sur un champ input
<!doctype html>
<!-- Voir -->
<title>test Gmap</title>
<meta charset="utf-8" />
<script src="//"></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$(function () {
var input = (document.getElementById('test'));
var autocomplete = new google.maps.places.Autocomplete(input);
<form action="#" method="post">
<input name="Test" type="text" value="" id="test"/>
<input name="submit" type="submit" value="ok"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment