zoukankan      html  css  js  c++  java
  • showModalDialog

    <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html">
    <title>异常提示</title>
    <style type="text/css">
    .header{
    text-align:center;
    }
    
    .con{
    100%;
    height:100%;
    overflow: auto;
    font-size: 14px;
    }
    
    </style>
    
    <script type="text/javascript">
    var expectMsg = "";
    window.onload = function(){
        var parentWin = window.dialogArguments;
        expectMsg = parentWin.form1.expectMsg.value;
        if(expectMsg!=""){
            expectMsg = expectMsg.replace(/
    /g,"<br/>");
            document.getElementById("content").innerHTML = expectMsg ;
        }
    }
    
    function confirm(){
        var parentWin = window.dialogArguments;
        parentWin.sendPaperRe();
        this.close();
    }
    function remove(){
        this.close();
    }
    </script>
    </head>
    <body>
    <div class="header">
    <input type="button" value="确定         "  onclick="confirm()"  /><input  type="button" value="         取消"  onclick="remove()" />
    </div>
    <br/>
    <div id='content'  class="con">
    </div>
    </body>
    </html>
  • 相关阅读:
    pymysql
    Mysql
    协程
    线程池
    线程 条件
    线程 事件
    线程
    requests
    Linux 时区不对的解决办法
    Linux 简单命令
  • 原文地址:https://www.cnblogs.com/lxh520/p/9376015.html
Copyright © 2011-2022 走看看