不允许的警报

时间:2017-04-09 15:12:01

标签: html twitter-bootstrap button alert dismiss

当" x"我试图让警报消失。单击按钮,但似乎缺少某些东西,使其无法正常工作,不确定它是什么。

    declare  @meas_enddate datetime,
@meas_startdate datetime, 
@enc_startdate       
datetime, 
@enc_enddate datetime, 
@activestart datetime, 
@activeend datetime, 
@baseline_start datetime,
@baseline_end datetime, 
@Dept as Table (DEPARTMENT_ID numeric(18,0) NOT NULL PRIMARY KEY,
UNIQUE NONCLUSTERED (DEPARTMENT_ID))
INSERT INTO @Dept
SELECT 
'100501201'
UNION SELECT '100208501'
UNION SELECT '100302304'...

1 个答案:

答案 0 :(得分:3)

如果不允许工作,则需要在文档中加入jQuerybootstrap.js

 <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="alert alert-success alert-dismissible">
    <button type = "button" class="close" data-dismiss = "alert">x</button>
    You've done it!
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>