prestation/Vue/Ajaxtbajouterlocalite/index.php
2025-12-05 10:42:46 +00:00

30 lines
1.5 KiB
PHP
Executable File

<form id="formData">
<legend id="titre_formData">Ajouter des données</legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="5%" align="center" class="required">Code</td>
<td width="10%" ><INPUT class="form-control majuscule" TYPE="text" id="codeLocalite" NAME="codeLocalite" required AUTOCOMPLETE="OFF" autofocus ></td>
<td width="5%" align="center" class="required">Nom</td>
<td width="30%" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" ></td>
<td width="5%" align="center" class="required">Pays</td>
<td width="20%">
<select name="codePays" id="codePays" class="form-control" required AUTOCOMPLETE="OFF" onchange="JAVASCRIPT:filtreVilleParPays();">
<?= liste_options($pays,'',false) ?>
</select>
</td>
<td width="5%" align="center" class="required">Ville</td>
<td width="20%">
<div id="div_ville" width="100%">
<select name="codeVille" id="codeVille" class="form-control" required AUTOCOMPLETE="OFF" >
<?= liste_options($ville,'',false) ?>
</select>
</div>
</td>
</tr>
</tbody>
</table>
</form>