Table of Contents
setChecked Method 

To check or uncheck a menu item.

Syntax
JavaScript
 MenuItem.setChecked(checked)

Parameters

checked
true to check a menu item, false to uncheck a menu item.
Remarks

Use setChecked to check or uncheck a menu item on the client side. This function should only be called on menu items because only menu items support check/uncheck.

This function and getChecked provide the client side equivalent of Checked.

See Also