How to Get the Selected Value from a Dropdown in JavaScript | CodeTrail