getValue

returns the current value of the control

string getValue();
stringthe current value of the control

Example

webix.ui({
  view:"select", id: "myselect", label:"Branch", 
  options:[
    {id:1, value:"Master" }, 
    {id:2, value:"Release" }
  ], labelAlign:"right" 
});
 
$$("myselect").getValue(); // returns "1"

Details

The returned value of the control may be:

See also
Back to top