recuperer input select sans sumbit
bonjour j'ai un formulaire qui récupère des adresses (rue) d'une ville , je veux lorsque je sélectionne une adresse je récupère l'adresse de la ville sans faire un button de submit.
c'est à dire envoyer au serveur mes adresse sans sumbit pour pouvoir recuperer une autre page php
voici mon code html
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
<table id="liste_agent">
<div>
<form action="#" method="POST" >
<select name="address" id="address" >
<option value="-1">selctionner un axe</option>
<option value="AV.CHARLES DEGAULE">AV.CHARLES DEGAULE</option><option value="AV. MOCTAR OULD DADAH">AV. MOCTAR OULD DADAH</option><option value="AV.GAMAL ABDEL NASER">AV.GAMAL ABDEL NASER</option>
</select>
</form>
</div>
<tr>
<th>Code Agent</th>
<th>Liste</th>
<th>GE-MoyE</th>
<th>PE-MicroE</th>
<th>PHARMACIE</th>
<th>DIVERS</th>
</tr>
<tr>
<td> 00</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="00">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=00" id="00" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=00 " id="00" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=00" id="00" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=00" id="00" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 01</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="01">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=01" id="01" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=01 " id="01" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=01" id="01" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=01" id="01" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 02</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="02">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=02" id="02" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=02 " id="02" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=02" id="02" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=02" id="02" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 03</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="03">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=03" id="03" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=03 " id="03" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=03" id="03" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=03" id="03" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 04</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="04">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=04" id="04" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=04 " id="04" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=04" id="04" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=04" id="04" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 05</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="05">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=05" id="05" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=05 " id="05" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=05" id="05" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=05" id="05" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 06</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="06">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=06" id="06" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=06 " id="06" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=06" id="06" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=06" id="06" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 07</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="07">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=07" id="07" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=07 " id="07" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=07" id="07" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=07" id="07" target="_blank">Carte </a> </td>
</tr>
<tr>
<td> 08</td>
<td><a href="#" class="popup-light" data-popup-class="popup-block" data-popup-width="500px" id="08">les societes des agents </a> </td>
<td><a href="cartographie_ge_me.php?id=08" id="08" target="_blank">Carte </a> </td>
<td><a href="cartographie_pe_micro.php?id=08 " id="08" target="_blank">Carte </a> </td>
<td><a href="cartographie_pharm.php?id=08" id="08" target="_blank">Carte </a> </td>
<td><a href="cartographie_divers.php?id=08" id="08" target="_blank">Carte </a> </td>
</tr>
</table> |
merci d'avance pour votre aide