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>';} },
                          
  • 相关阅读:
    CentOs上安装Oracle 10g
    多线程更新form
    C#中写INI文件的方法
    C语言的函数大全,参数列表,数字的81016进制转换
    CCS 3.3 操作C函数读写文件
    关于XML文档读写
    关于MathType的一些用法
    DateTime Proc
    拖拽获得文件路径
    用事件进行窗口间参数传递
  • 原文地址:https://www.cnblogs.com/xdot/p/4759488.html
Copyright © 2011-2022 走看看