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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.