$(function () { var returnsValue; // Type: any // Parameters var selector; // Type: any var disabled; // Type: bool returnsValue = $(".selector").wijmenu("setItemDisabled", selector, disabled); });
Parameters
- selector
- Indicates the item to be disabled. The parameter's type is jQuery selector.
- disabled
- If the value for this parameter is true, then the menu item will be disabled. The parameter's type is Boolean.