Bonjour,
Pouvez-vous m'aider à faire fonctionner ce petit bout de code ?
Je n'ai jamais d'alerte !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 function Calculer() { $.getJSON("http://maps.googleapis.com/maps/api/distancematrix/json", { origins: $("#depart").val(), destinations: $("#arrivee").val(), language: "fr", sensor: "false" }, function(data) { alert('ok !'); }); }
Merci par avance,
ZiP
Partager