fa chiamate a funzioni js..
<select id="circolo" name="circolo" onchange="javascript:aggiorna(n);">codice:function aggiorna (tipo){ document.calcolo_plhcp.azione.value='aggiorna'; if(tipo==1 && document.calcolo_plhcp.campo){ if(document.getElementById("campo")!==null) document.calcolo_plhcp.campo.options.length=0; if(document.getElementById("tee")!==null) document.calcolo_plhcp.tee.options.length=0; } if(tipo==2 && document.calcolo_plhcp.tee){ if(document.getElementById("tee")!==null) document.calcolo_plhcp.tee.options.length=0; } document.calcolo_plhcp.submit(); } function svuotaUltimo(){ if(document.getElementById("tee")!==null){ aggiorna(1); } else{ if(document.getElementById("campo")!==null){ pulizia(); }else{ document.calcolo_plhcp.circolo.options[0].selected=true; } } } function visualizza(idDiv){ getElementById(idDiv).style.display="block"; }

Rispondi quotando