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
$(function () {
var returnsValue; // Type: any
// Parameters
var event; // Type:
returnsValue = $(".selector").wijmenu("deactivate", event);
});
function deactivate(
:
) : any;
Parameters
- event
- The javascript event.
See Also