Functiondijit.form.CheckBox.setValue

dojo.require("dijit.form.CheckBox");
defined in dijit/form/CheckBox.js

When passed a boolean, controls whether or not the CheckBox is checked. If passed a string, changes the value attribute of the CheckBox (the one specified as "value" when the CheckBox was constructed (ex: )

Usage

function (newValue) (view source)
parametertypedescription
newValue