Specifications

To o l b a r s 97
Example
function getUpdateFrequency()
{
return onSelChangeā€;
}
isCommandChecked()
Description
Returns a value that specifies whether the item is selected. For a button, checked means that the
button appears on or depressed. The
isCommandChecked() function is equivalent to the checked
attribute in a toolbar item tag.
Arguments
For pop-up menus, combo boxes, text boxes, and color pickers, the first argument is the current
value within the control. The
getDynamicContent() command can optionally attach individual
IDs to items within a pop-up menu. If the selected item in the menu has an ID attached,
Dreamweaver passes that ID to
isCommandChecked() instead of the value. For combo boxes, if
the current contents of the text box do not match an entry in the pop-up menu, Dreamweaver
passes the contents of the text box. For determining whether the text box matches, Dreamweaver
compares against the menu without case-sensitivity.
If you specified the
arguments attribute, those arguments are passed next. If you do not specify
the
arguments attribute, Dreamweaver passes the ID of the item.
Returns
Dreamweaver expects a Boolean value that indicates whether the item is checked.