Aggiungi step 4
codice:
function setapp4(chooser) {
var baby = document.form1.elements["Personen"].options[document.form1.elements["Personen"].selectedIndex].value-chooser.options[chooser.selectedIndex].value
var where = (navigator.appName == "Microsoft Internet Explorer") ? -1 : null;
var newElem1;
var appChooser = document.form1.elements["Baby"];
while (appChooser.options.length) {
appChooser.remove(0);
}
if(chooser.options[chooser.selectedIndex].value==''){
appChooser.remove(0);
}else{
newElem1 = document.createElement("option");
newElem1.text = baby;
newElem1.value = baby;
appChooser.add(newElem1, where);
}
e lo richiami dalla select adulti.