Question: how to get the selected value of the dropdown in javascript?
Answer: Use the value property of the select list.
Use the selectedIndex property.
Loop through the options and determine which one is selected and return either its value or a reference.