Get text from Dropdown control

Issue

Get text value from Dropdown control

Solution

[variable] = getCSObject([DropDownName]).options[getCSObject([DropDownName]).selectedIndex].text;

This code will get the Text option from the Dropdown control and not the Value option.