no save
Assistance
Achat
News

Forum | programmation
javascript: comment declarer un objet
sylvie27, le lun. 21 août 2006 à 17:02:23
le code html généré est celui ci:

function ajouter2(){
document.form_direct.listeService.options.length = 0;

var j = 3;
for (int i = 0;i < j ;i++) {
alert("ok1");
var serv = new Beanservice.getLT_service_Trombinoscope().elementAt(i);
alert("ok2");
var v_serv = serv.getNomService;
document.form_direct.listeService.options[i]= new Option('v_serv',"v_serv");
}

}
}
Précédentpoof65
août 06


REPONSES
poof65
août 06
sylvie27
août 06
poof65
août 06
sylvie27
août 06
Version Web
Réalisé par RedShift
no save