write a Funciton of getSelectedOption in scriptingTextboxes.js
write a Usage of getSelectedOption in scriptingTextboxes.js