- <div id="win" class="easyui-window" title="My Window" closed="true" style="width:300px;height:100px;padding:5px;">
- Some Content.
- </div>
- $(‘#win‘).window(‘open‘) //打开window
- $(‘#win‘).window(‘close‘) //关闭window
- $(‘#win‘).window(‘center‘) //window居中