Functiondijit.form.TextBox.setValue

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

Sets the value of the widget to "value" which can be of any type as determined by the widget.

Usage

function (value, /*Boolean?*/ priorityChange, /*String?*/ formattedValue) (view source)
parametertypedescription
value visual element value is also set to a corresponding, but not necessarily the same, value.
priorityChangeBooleanOptional. If true, an onChange event is fired immediately instead of waiting for the next blur event.
formattedValueStringOptional. If specified, used to set the visual element value, otherwise a computed visual value is used.