How do you get the current <option> of a <select> element using JavaScript?
<option>
<select>
This will do it for you:
var yourSelect = document.getElementById( "your-select-id" ); alert( yourSelect.options[ yourSelect.selectedIndex ].value )
.selectedIndex of the select object has an index; you can use this to index into an .options array.
.selectedIndex
select
.options
var payeeCountry = document.getElementById( "payeeCountry" ); alert( payeeCountry.options[ yourSelect.selectedIndex ].value );