• formsubmit


    <<!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>sss</title>
    <style>
    .box
    {
    50px;
    height: 50px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: none;
    background-color: #fff;
    }
    </style>
    </head>
    <body id="body">

    <form method="post" id="myform" action="a.php">

    </form>
    <input type="submit" value="提交表单" onclick="display()"/>
    <div class="box" id="box">
    <input type="submit" value="取消" onclick="delete()"/>
    <input type="submit" value="确定" onclick="validate()"/>
    </div>

    <script type="text/javascript">
    function display(){
    document.getElementById('box').style.display='block';
    document.getElementById('body').style.background='#000';
    }
    function validate(){
    document.getElementById('myform').submit();
    }
    function delete(){
    document.getElementById('box').style.display='none';
    document.getElementById('body').style.background='#fff';
    }


    </script>
    </body>
    </html>

  • 相关阅读:
    ConditionedActivityGroup
    一个WF系统架构草图
    新添加了一个栏目
    入门篇(3):了解一下Activity的使用
    再谈调用子流程(2)
    自定义WorkflowRole
    ListenActivity
    WhileActivity
    我是一只鸟
    得到工作流结点列表
  • 原文地址:https://www.cnblogs.com/liuwenbohhh/p/4521477.html
Copyright © 2020-2023  润新知