getText

gets actual text value from the control input

string getText();

Returns

stringtext displayed in the input field

Example

$$("mydatepicker").getText();
$$("mycolorpicker").getText();

Details

To get the control value you should use the getValue method.

In case you don't have a stringResult property in the control configuration, the getValue method will return raw unformatted value.

See also
Back to top