应该点击测试按钮才会出现“这是一个内容”,可是我在写时两者是同时出现的,请问是怎么回事?谢谢!
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
<title>bootstrap-btn</title>
</head>
<body>
<button class="btn btn-danger btn-lg" data-toggle="modal" data-target="#ha">测试按钮</button>
<div id="ha">这是一个内容</div>
</body>
</html>