Wijmo UI for the Web
remove Method
The index of menuitem to be removed
Remove an item from the menu.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var index; // Type:  number
    
    returnsValue = $(".selector").wijmenu("remove", index);
});
Javascript (Specification) 
function remove( 
   index : number
) : any;

Parameters

index
The index of menuitem to be removed
Example
//Removes the second menuitem.
$("#menu").wijmenu("remove", 1);
Browser Compatibility
7
5
5

See Also

Reference

wijmenu type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.