bonsoir , j'utiliste une liste déroulante en fonction d'une autre avec un code en ajax , Bon la premier page (index) la taille de ma liste déroulante est normal , mais dans l'autre fichier php j'essaye de changer sa largeur mais en vain , ça marche pas voila le code
<?php
echo "<select name='livre' id='livre' ";
if(isset($_POST["code_entite"])){
$log=$_POST['code_entite'];
$dsn="con_salle";
$username="localhost";
$password="";
$sqlconnect=odbc_connect($dsn,$username,$password);
$select="select code_entite from ENTITE where description_entite_parent='$log'";
$process=odbc_exec($sqlconnect, $select);
while(odbc_fetch_row($process)){
$tavariable= odbc_result($process,"code_entite" );
print "<option value='$tavariable'>$tavariable</option>\n";
}
}
echo "</select>";
?>