getValue of ui.textarea, Methods Webix Docs
returns the current value of the control
string getValue();
| string | the current value of the control |
Example
webix.ui({
view:"form",
elements:[
{ view:"button", id:"b1", value:"Edit", css:"webix_primary" },
{ view:"button", id:"b2", value:"Back", css:"webix_primary" }
]
});
$$("b1").getValue(); // returns "Edit"
Details
The returned value of the control may be:
- text value in the input text and textarea field;
- selected item like date in calendar and color in the colorboard;
- state of the two-state control (checkbox, radio, toggle);
- selected option of integral buttons (tabbar, tabview, segmented);
- selected option of select, richselect, and combo;
- string with selected options of a multiselect and multicombo control.
See also