ho una selec di questo tipo:
<select name="tipo_rich" id="tipo_rich" onclick="ShowAc();">
<option selected></option>
<option>Nuovo Software</option>
<option>Modifica Software esistente</option>
</select>
e uno script del tipo:
function ShowAc(choice) {
if (choice=='Nuovo Software') {
document.getElementById('nuovo').style.display='bl ock';
document.getElementById('modifica').style.display= 'none';
document.getElementById('rich').style.display='non e';
}
if (choice=='Modifica Software esistente') {
document.getElementById('nuovo').style.display='no ne';
document.getElementById('modifica').style.display= 'block';
document.getElementById('rich').style.display='non e';
}
}
ma quando seleziono una option non fa nulla!