codice:function subControlla() { var sel = document.getElementsByTagName("select"); for (nI=0; nI<sel.length; nI++) { if (sel[nI].options[sel[nI].selectedIndex].value==""){ window.alert("non hai selezionato nulla nella select " + sel[nI].name); return false; } }

Rispondi quotando