getValue

returns the current value of the control

number getValue();
numberthe current value of the control

Example

webix.ui({
  view:"checkbox",
  id: "mycb",
  label:"Tips"
});
 
$$("mycb").getValue(); // returns the current value

Details

The method returns:

  • 0 - checkbox is unchecked
  • 1 - checkbox is checked
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.