DWRUtil.getText(id)

getText(id) is similar to getValue(id), except that it is designed for <select ... lists where you need to get the displayed text rather than the value of the current option.

DWRUtil.getText( ) returns = " "
And for comparison:
DWRUtil.getValue( ) returns = " "

HTML Test Elements

A div element with id="div".
Text area (id="textarea"): Selection list (id="select"):
Text input (id="text"): Password input (id="password"):
Form button (id="formbutton"): Fancy button (id="button"):