SelectList dan JavaScript di halaman VF

<apex:selectList styleclass="Lista" value ="{!type1}" size="1">
    <apex:selectOptions value="{!Types}"/>
</apex:selectList>

var e = document.getElementsByClassName("Lista")[0];
var strUser = e.options[e.selectedIndex].value;
Thoughtless Teira