Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

setChecked Method 

To check or uncheck a menu item.

[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

MenuItem Object


Direct link to this topic