returns the current value of the control
string | the current value of the control |
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"
The method collects values from all the fields of a multitext control and aggregates them into a string with a comma and a space separator.
The separator can be redefined with the help of a separator property.
To get the value of the basic field only, use the getValueHere method.
Value of the control may be: