problema numero 2
function showchecks()
{
var x;
x= document.getElementById("To-recall");
if (x.selectedIndex == 2) alert("prova");
}
mentre html
Da richiamare
<select NAME="To-recall" ID="To-recall" onChange="showchecks()">
<option VALUE="0" <%if (params[4].equals(null)) {%> selected="selected" <%} %>></option>
<option VALUE="1" <%if (params[4].equals("Fissato orario")) {%> selected="selected" <%} %>>Fissato orario</option>
<option VALUE="2" <%if (params[4].equals("Non utile")) {%> selected="selected" <%} %>>Non utile</option>
<option VALUE="3" <%if (params[4].equals("Richiamato")) { %>selected="selected" <%} %>>Richiamato</option>
</select>