ho modificato :
Codice PHP:
 switch(inputs[i]){ 
con
Codice PHP:
 switch(inputs[i].value){ 
Ma continua a non funzionare :/