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

jQuery EasyUI Window - Customizing a Dialog with a Toolbar and Buttons

jQuery EasyUI Window - Customizing a Dialog with a Toolbar and Buttons

You can create a dialog with a toolbar and buttons from HTML markup. This tutorial describes how to add a toolbar and buttons to a dialog without any javascript code.

Creating a Dialog



    
        Dialog Content.     

Create the toolbar (Toolbar)



    
                                                                             
                    Edit                     Help                                                       
    

Creating Buttons



    
                                                                             
                                                          Save                     Close                 
    

Note that the dialog's toolbar and buttons properties can also be specified with string values, which act as a selector to choose an appropriate DIV element and append it to the toolbar or buttons position.

Download the jQuery EasyUI example

jeasyui-win-dlg2.zip