• Alert Messager


    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>Alert Messager - jQuery EasyUI Demo</title>
        <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
        <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
        <link rel="stylesheet" type="text/css" href="../demo.css">
        <script type="text/javascript" src="../../jquery.min.js"></script>
        <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
    </head>
    <body>
        <h2>Alert Messager</h2>
        <p>Click on each button to display different alert message box.</p>
        <div style="margin:20px 0;">
            <a href="#" class="easyui-linkbutton" onclick="alert1()">Alert</a>
            <a href="#" class="easyui-linkbutton" onclick="alert2()">Error</a>
            <a href="#" class="easyui-linkbutton" onclick="alert3()">Info</a>
            <a href="#" class="easyui-linkbutton" onclick="alert4()">Question</a>
            <a href="#" class="easyui-linkbutton" onclick="alert5()">Warning</a>
        </div>
        <script>
            function alert1(){
                $.messager.alert('My Title','Here is a message!');
            }
            function alert2(){
                $.messager.alert('My Title','Here is a error message!','error');
            }
            function alert3(){
                $.messager.alert('My Title','Here is a info message!','info');
            }
            function alert4(){
                $.messager.alert('My Title','Here is a question message!','question');
            }
            function alert5(){
                $.messager.alert('My Title','Here is a warning message!','warning');
            }
        </script>
    </body>
    </html>
  • 相关阅读:
    制药企业核算报表系统整体方案
    制药企业核算报表系统整体方案
    Linux_DHCP&DHCP Relay
    Linux_DHCP&DHCP Relay
    perl 数组元素为空和数组元素为undef 是两码事
    Powershell指令集_1
    Powershell指令集_1
    perl next 循环
    私企也有点儿干不下去,再次离职——北漂18年(35)
    利用微信机器人,自动发送验证码
  • 原文地址:https://www.cnblogs.com/azhqiang/p/4435321.html
Copyright © 2020-2023  润新知