zoukankan      html  css  js  c++  java
  • Interactive Messager

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>Interactive 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>Interactive Messager</h2>
        <p>Click on each button to display interactive message box.</p>
        <div style="margin:20px 0;">
            <a href="#" class="easyui-linkbutton" onclick="confirm1();">Confirm</a>
            <a href="#" class="easyui-linkbutton" onclick="prompt1()">Prompt</a>
        </div>
        <script>
            function confirm1(){
                $.messager.confirm('My Title', 'Are you confirm this?', function(r){
                    if (r){
                        alert('confirmed: '+r);
                    }
                });
            }
            function prompt1(){
                $.messager.prompt('My Title', 'Please type something', function(r){
                    if (r){
                        alert('you type: '+r);
                    }
                });
            }
        </script>
    </body>
    </html>
  • 相关阅读:
    登乐游原
    遇到Tomcat端口占用怎么办
    tensorflow cnn+rnn基本结构
    linux bash 入门
    python 装饰器
    php 后端开发学习
    图像增强方法
    git 使用
    斯坦福机器学习课程笔记
    django学习笔记
  • 原文地址:https://www.cnblogs.com/azhqiang/p/4435332.html
Copyright © 2011-2022 走看看