<script type="text/javascript">function enter(e) { var touche=(window.Event)?e.which:e.keyCode; if(touche==13){ document.getElementById('btn_enter').click(); } }</script><form name="iti" action="#"> Départ: Arrivée: </form>
<html> <head> <script type="text/javascript"> //------------------------- function Open_Carte( form_){ var Deb = form_.depart; var Fin = form_.arrivee; window.open('http://maps.google.fr/maps?f=d&hl=fr&saddr=' +Deb +'&daddr=' +Fin +'&ie=UTF8&z=12&om=1'); } //-------------------- function Verif_Champ(){ // FAIRE les tests qui semblent interessant return( true); } </script> </head> <form name "iti" action "javascript:Open_Carte( this);" onsubmit = "return(Verif_Champ());"> Départ : Arrivée: </form> </html>