function update(){
var combo = document.getElementById('objIndiv');
var selected_value = combo.value;
combo1 = document.getElementById('objGlob');
//vider la liste
combo1.options.length = 0;
//la mettre à jour
<% Iterator it = ServiceUser.getObjIndivByLibelle("selected_value").iterator();
String orr=null;
while(it.hasNext()){
ObjIndiv objindiv =(ObjIndiv)it.next();
orr=objindiv.getObjGlob().getOrientation().getLibelleorientation();
%>
combo1.options='<%= objindiv.getObjGlob().getOrientation().getLibelleorientation()%>';
<%}%> |