getValue

returns the current value of the control

string getValue();
stringthe current value of the control

Example

webix.ui({
    view:"radio", id: "myradio", 
    label:"Branch", value:2, 
    options:[
        { id:1, value:"Master" }, 
        { id:2, value:"Branch" }
    ]
});
 
$$("myradio").getValue(); // returns 2

Details

The returned value of the control may be:

See also
Back to top