You can get the value of the currently selected option with this line (sel is the select box):
sel.options[sel.selectedIndex].value