zoukankan      html  css  js  c++  java
  • bootstrap div 弹出与关闭

    html

        <div id="myModal" class="modal" tabindex="-1" role="dialog" 
        style="900px; height:830px; margin-left:450px; margin-top:50px;background-color:#333;" 
            aria-labelledby="myModalLabel" aria-hidden="true">
            
            <!--  
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                    aria-hidden="true">×</button>
                <h3 id="myModalLabel">プロモーション詳細</h3>
            </div>
            
            -->
            <div class="modal-body" style="background-color: white;">
    
                
            </div>
            <div class="modal-footer"><input type="button"  class="btn btn-primary" onclick="saveDetailPage()" value="登録"/>
                <input id="clear" class="submit btn" onclick="detailClear()" type="button" value="クリア" />
                <input class="btn" onclick="Cleardetailpage()" data-dismiss="modal" aria-hidden="true" value="キャンセル" />
    
            </div>
        </div>

     js

                                        $("#myModal").hide();
                                        $('#myModal').modal('hide');
    
     { data:'iscPromotionId',  //<a href="#myModal" role="button" class="btn" data-toggle="modal">查看演示案例</a>
                              "render": function ( data, type, full, meta ) {
                              return '<a href="#myModal" role="button" class="btn" data-toggle="modal" onclick="popdetail(this);">修正</a>'+'  '+'<a href="#myModal" role="button" class="btn" data-toggle="modal" onclick="popdetail(this);">削除</a>';} },
                          
  • 相关阅读:
    Vue 路由组件
    编写第一个JavaScript程序
    JavaScript 介绍
    JavaScript
    前台数据库
    cookie
    js date string parse
    判断时间大小 yyyy-MM-dd 格式
    正则表达式替换
    测试计时器
  • 原文地址:https://www.cnblogs.com/xdot/p/4759488.html
Copyright © 2011-2022 走看看