<!DOCTYPE html>
<html lang="ms">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width= lebar peranti, skala awal=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<tajuk>Dokumen</title>
<pautan rel="stylesheet" type="text/css" href="bootstrap.min.css" />
<script type="text/javascript" src="jquery-1.11.1.min.js"> </script>
<script type="text/javascript" src="bootstrap.min.js"></script>
</head>
<body>
查看演示柎侎
<p id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden=" benar">
<p class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</p>
<p class="modal-body">
<p>One fine body…</p>
</p>
<p class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
<button class="btn btn-primary">Save changes</button>
</p>
</p></body>
</html>
使用bootstrap的对话框 弹不出来的原因?
Mengapa p dengan id="myModal" mempunyai kelas sorok?