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

jQuery EasyUI Menu and Button - Creating a Split Button

jQuery EasyUI Menu and Button - Creating a Split Button

A Split Button contains a Link Button and a Menu. When the user clicks or hovers over the down-arrow area, a corresponding menu will be displayed. This example demonstrates how to create and use a Split Button.

We create a Split Button and a Link Button:



    
        Edit              
    
        
Undo
        
Redo
                 
Cut
        
Copy
        
Paste
                 
            Open             
                
Firefox
                
Internet Explorer
                                 
Select Program...
            
        
        
Delete
        
Select All
    

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