Javascript 为什么不使用twitter引导以角度显示警报?

Javascript 为什么不使用twitter引导以角度显示警报?,javascript,jquery,twitter-bootstrap,twitter-bootstrap-3,Javascript,Jquery,Twitter Bootstrap,Twitter Bootstrap 3,您能告诉我为什么我的警报没有显示吗?我使用的是bootbox.js plugin()。但它没有显示站点中给出的警报 这是我的密码 HTML 但是,当我将引导程序3.2改为2.3时,它会起作用,为什么?如果我包括这一点,为什么会起作用 <script src="//code.jquery.com/jquery.min.js"></script> <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2

您能告诉我为什么我的警报没有显示吗?我使用的是bootbox.js plugin()。但它没有显示站点中给出的警报

这是我的密码

HTML

但是,当我将引导程序3.2改为2.3时,它会起作用,为什么?如果我包括这一点,为什么会起作用

<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" />
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>

您使用的是Bootbox v3.3.0,它与Bootstrap 3不兼容。查看引导盒的依赖项表:

我使用Bootbox v4.3.0和Bootstrap v3.2.0尝试了您的JS Bin示例,效果很好:

$(function () {


 // Code goes here
    $(document).ready(function(){
        $('#clikId').click(function(){
            bootbox.alert('Hello alert')
        })
    })


});
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" />
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>