• 对话框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>
  • 相关阅读:
    移动Web开发规范概述
    hibernate 多对多
    hibernate 1 对1
    hibernate 双向1对多
    Hibernate 单项多对1
    Hibernate Session 4种对象状态
    Hibernate Session缓存
    Hibernaate 详解
    Hibernate学习 (一)
    Struts拦截器Interceptor
  • 原文地址:https://www.cnblogs.com/m01qiuping/p/6502231.html
Copyright © 2020-2023  润新知