zoukankan      html  css  js  c++  java
  • bootstrap模态框使用

    需要引入的相关内容点击下载


    <html>
    <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
    <head>
    <title>BootStrap</title>

    <link rel="stylesheet" href="bootstrap.min.css">
    <script src="jquery.js"></script>
    <script src="bootstrap.min.js"></script>
    </head>
    <body>       //红色的标注的两处id必须相同
    <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">通过此按钮</button>
    <!-- Modal -->
    <!-- 模态框(Modal) -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="removeModalLabel">
        <div class="modal-dialog" role="document">
    <div class="modal-content">
    <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">发布<small> </small></h4>
    </div>
    <div class="modal-body text-center">
    您确定要发布吗?
    </div>
    <div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
    <button type="button" class="btn btn-danger" id="reSetState">发布</button>
    </div>
    </div>
    </div>
    </div>
    </body>

    </html>
  • 相关阅读:
    Mybatis plus 多表连接分页查询
    webstorm自动格式化.vue文件并符合Eslint
    Selenium python爬虫
    Cent OS防火墙配置端口开放
    开发Hexo主题(一)
    谷歌开发者主页回归
    个人博客网站
    linux搭建ftp
    putty之pscp上传文件
    送走了最好的兄弟 收到上交复试通知
  • 原文地址:https://www.cnblogs.com/wdnnccey/p/6279808.html
Copyright © 2011-2022 走看看