My first window

Tutorial » My first window

Create a window is very simple. We create a DIV markup:

Now run your test page and you will see a window show on screen. We don't need to write any javascript code.

If you wish to create a invisible window, remember to set a 'closed' attribute to 'true' value and you can invoke a 'open' method to open the window:

As a demonstration we create a login window in finally:

Download the EasyUI example: