Javascript 引导模式对话框是´;行不通

Javascript 引导模式对话框是´;行不通,javascript,jquery,twitter-bootstrap,modal-dialog,Javascript,Jquery,Twitter Bootstrap,Modal Dialog,我正在学习一些引导,我在模态对话框中遇到了一些问题。我已经复制并粘贴了Bootstrap的源代码,当我在我的计算机上启动相同的代码时,它就不工作了。我搜索了一些主题,但找不到答案。这是我的密码: <!doctype html> <html> <title>Bootstrap</title> <meta http-equiv="Content-Type" content="text/html; charset="UTF-8"> <

我正在学习一些引导,我在模态对话框中遇到了一些问题。我已经复制并粘贴了Bootstrap的源代码,当我在我的计算机上启动相同的代码时,它就不工作了。我搜索了一些主题,但找不到答案。这是我的密码:

<!doctype html> 
<html>
<title>Bootstrap</title>
<meta http-equiv="Content-Type" content="text/html; charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"  
<!-- Bootstrap -->
<link href="bootstrap/css/botstrap.min.css" rel="stylesheet">
<script src="bootstrap/js/bootstrap.js"></script>

<head>
<body>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Launch demo modal
</button>

<!--Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
   <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" id="myModalLabel">Modal title</h4>
         </div>
         <div class="modal-body">
         ...
         </div>
         <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal"Close></button>
            <button type="button" class="btn btn-primary">Save changes</button>
         </div>
     </div>
   </div>
</div>

独自创立

您需要添加jQuery库


启动演示模式
&时代;
情态标题
...
接近
保存更改