//----------------------------- function Create_Option( where_){ //-- L'objet destination var O_Select = document.getElementById( where_); //-- Si existe if( O_Select){ for( var i =0 ; i <6; i++){ // Creation objet option O_Option = document.createElement( 'OPTION'); //-- Ajout au select O_Select.appendChild( O_Option); //-- Affectation du texte et autre... O_Option.text = i; } } }