j ai utilisé cette methode qui permet d ajouter un champs a une combobocx mais ca marche pas

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
function afficher(form1){
if (form1.list.selectedIndex="rabat"){
form1.lister.item.add("menzeh");}
}
aider moi svp