getValue

returns the current value of the control

string getValue();
stringthe 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 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.

Common info

Value of the control may be:

See also
Back to top