getValue

returns the current value of the control

string getValue();

Returns

stringthe current value of the control

Example

webix.ui({
    view:"form", 
    elements:[
        { view:"button", id:"b1", value:"Edit", type:"form" },
        { view:"button", id:"b2", value:"Back", type:"form" }
    ]
});
 
$$("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 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