Documentation

getText

gets actual text value from the control's input

string getText();

Returns

stringtext displayed in the input field

See also

Example

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

Details

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

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

Back to top