zoukankan      html  css  js  c++  java
  • 对话框dialog

    <!DOCTYPE html>
    <html>
    <head>
    <title>jQuery Easy UI</title>
    <meta charset="UTF-8" />
    <script type="text/javascript" src="C:/Users/秋萍/Desktop/easyui/jquery-easyui-1.5.1/jquery.min.js"></script>
    <script type="text/javascript" src="C:/Users/秋萍/Desktop/easyui/jquery-easyui-1.5.1/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="C:/Users/秋萍/Desktop/easyui/jquery-easyui-1.5.1/locale/easyui-lang-zh_CN.js" ></script>
    <link rel="stylesheet" type="text/css" href="C:/Users/秋萍/Desktop/easyui/jquery-easyui-1.5.1/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="C:/Users/秋萍/Desktop/easyui/jquery-easyui-1.5.1/themes/icon.css" />
    <script type="text/javascript">
        $(function(){
            $("#box1").dialog({
                title : "标题1",
                resizable : true,
                modal : true,
                width : 200,
                height : 300,
                toolbar : [{
                    text : "编辑",
                    iconCls :"icon-edit",
                    handler : function(){
                        alert("编辑");
                    }
                }],
                buttons : '#bb',
                /*buttons : [{
                    text : '保存',
                    iconCls :"icon-ok",
                    handler : function(){
                        alert("保存");
                    }
                }],*/
    
            });
            //返回
            console.log($("#box1").dialog("dialog"));
        });
    </script>
    </head>
    <body>
    <!--
    扩展自window组件
    -->
    
    <div id="box1">dsd</div>
    
    </body>
    </html>
  • 相关阅读:
    汉语-词语:养生
    汉语-词语:道家美学
    汉语-词语:审美
    人物-书法家:王羲之
    人物-道家:庄子
    汉语-词语:含蓄
    关于finfo_file函数获取文件mime值验证出错的问题
    第一个Hello,OS World操作系统
    Lead软件项目半年感受
    Cts框架解析(15)-任务运行完
  • 原文地址:https://www.cnblogs.com/m01qiuping/p/6502231.html
Copyright © 2011-2022 走看看