Bonjour, voila donc j'aimerait envoyer un texte dans
url via une input box et pour lancer url qui et dans le json un bouton submit ex:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>ReDemo</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<table id="GeoResults"></table>
<script>
$.getJSON("http://monsite.com/json/[jevoudraitmontexteiçi]reponse=?", function(data) {
var table_body = "";
$.each(data, function(k, v) {
table_body += "<tr><td>" + k + "</td><td><b>" + v + "</b></td></tr>";
});
$("#GeoResults").html(table_body);
});
</script>
</body>
</html>
Merci