The deactivate method clears the current selection.
This method is useful when reopening a menu which you previously selected an item.
If you don't call this method then an item which you selected before allowing the menu to close
will remain highlighted when the menu is reopened.
Syntax
Javascript (Usage) | |
---|
$(function () {
var returnsValue; // Type: any
// Parameters
var event; // Type:
returnsValue = $(".selector").wijmenu("deactivate", event);
});
|
Javascript (Specification) | |
---|
function deactivate(
:
) : any;
|
Parameters
- event
- The javascript event.
Browser Compatibility
See Also
Reference
wijmenu type
wijmenu jQuery Widget