easyui-window title的赋值和获取

来源:互联网 发布:e4a编程助手2.0 编辑:程序博客网 时间:2024/06/08 03:55

以下为例:

<div id="addTab" class="easyui-window" title="添加" data-options="modal:true,closed:true" style="width:560px;height:400px;padding:10px;display:none;"> </div>

easyui-window title赋值:

    $('#addTab').panel({title:"修改"})

easyui-window title获取:

    $('#addTab').panel('options').title
0 0