Click or drag to resize

setSelected Method

Sets a value indicating where this option is selected or unselected.

Syntax
JavaScript
function setSelected(state);

Parameters

state

Type: Boolean

The selection state of this option.

Return Value

Type: Boolean

Returns true if the operation completed successfully; otherwise false.

Remarks

Setting the selection state to true using this method will unselect all other options unless this is a ListField which supports multiple selections.

See Also

Other Resources