considera anche che potresti non aver bisogno di passare questo numero di riga
onchange="calcola(this)"
codice:function calcola(sel) { // se le singole option hanno un value var quantita = sel.options[sel.selectedIndex].value; // se le singole option non hanno value // var quantita = sel.options[sel.selectedIndex].text; alert(quantita); }