zoukankan      html  css  js  c++  java
  • 获得easyUi dialog 对话框title的属性值

     1 <div id="dlg" class="easyui-dialog" title="Toolbar and Buttons" style="1040px;height:600px;padding:10px" 
     2             data-options="
     3                 
     4                 buttons: [{
     5                     text:'保存',
     6                     iconCls:'icon-ok',
     7                     handler:function(){
     8                         ChangeMessage();
     9                     }
    10                 },{
    11                     text:'关闭',
    12                     handler:function(){
    13                         alert('cancel');;
    14                     }
    15                 }]
    16             ">
    17 
    18 
    19         <table id="detail_table" iconCls="icon-save" title="My Window" style=" 100%; height: 300; font-size: 14px;" class="table">
    20     <tr>
    21         <td align="right">编号</td>
    22         <td align="left"><input id="MessageId" class="combo datebox" style="180px; height: 20px;" readonly="true"></td>
    23         <td align="right">菜单名称</td>
    24         <td align="left"><input id="MessageTitle" class="combo datebox" style="180px; height: 20px;"></td>
    25         <td align="right">数据类型</td>
    26         <td align="left">
    27             <select id="MessageType" class="easyui-combobox" panelHeight="auto" style="180px" onchange="MessageType_change(this)">
    28                 <option value="MODE">模块</option>
    29                 <option value="MENU">菜单</option>
    30                 <option value="TEXT">文本</option>
    31             </select>
    32         </td>
    33     </tr>
    34     <tr>
    35         <td align="right">上级编号</td>
    36         <td align="left"><input id="ParentID" class="combo datebox" style="180px; height: 20px;" readonly="true"></td>
    37         <td align="right">创建人</td>
    38         <td align="left"><input id="MessageAuthorId" class="combo datebox" style="180px; height: 20px;" value="admin" readonly="true"></td>
    39         <td align="right">创建时间</td>
    40         <td align="left"><input id="MessageDate" class="combo datebox" style="180px; height: 20px;" readonly="true"></td>
    41     </tr>
    42 
    43 
    44     <tr id="Content_textarea">
    45         <td colspan="6">
    46             内容&emsp;
    47             <textarea class="ckeditor" cols="80" id="MessageContent_ckeditor" name="editor1" rows="10"></textarea>
    48            
    49         </td>
    50     </tr>
    51 @*    <tr id="Content_input">
    52         <td>
    53             内容
    54         </td>
    55         <td><input id="MessageContent" class="combo datebox" style="180px; height: 20px;"></td>
    56         <td colspan="4"></td>
    57     </tr>*@
    58     <tr>
    59         <td colspan="6">&emsp;</td>
    60     </tr>
    61 </table>
    62     </div>

    //调用
       alert($('#dlg').panel('options').title);
  • 相关阅读:
    sftp服务器搭建以及挂载新硬盘到home目录下
    做题小技巧
    18年2月份股市大跌感想
    使用docker配置laravel5.5环境
    git tag、gitignore和git撤销提交
    Tmux 学习
    rman异常案例二: 归档日志被人移动到其他目录,导致数据库恢复异常(续)
    tasklet与workqueue的区别和不同应用环境总结
    [置顶] Jquery网页打印
    svn服务器搭建和使用:Custom action GenerateSSLKey failed: Command terminated with non-zero exit code
  • 原文地址:https://www.cnblogs.com/520cc/p/3224498.html
Copyright © 2011-2022 走看看