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
Text area (id="textarea"): | Selection list (id="select"): | ||
Text input (id="text"): | Password input (id="password"): | ||
Form button (id="formbutton"): | Fancy button (id="button"): |