Get Dropdown Option Values
function getDropdown() { var selectBox = document.getElementById("divider"); var selectedValue = selectBox.options[selectBox.selectedIndex].value; alert(selectedValue); }