Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery EasyUI Menu and Button - Creating a Menu Button

jQuery EasyUI Menu and Button - Creating a Menu Button

A Menu Button contains a button and a menu component; when the button is clicked or the mouse is moved over it, a corresponding menu will be displayed.

To define a Menu Button, you should define a Link Button and a menu. The following is an example:



    
        Edit         Help     
    
        
Undo
        
Redo
                 
Cut
        
Copy
        
Paste
                 
Delete
        
Select All
    
    
        
Help
        
Update
        
About
    

Now that a Menu Button has been defined, you do not need to write any javascript code.