我创造了一个多种形式对话Twitter的引导模态不正常
<a href="#myModal" role="button" class="btn" data-toggle="modal" id="LaunchDemo">Launch demo modal</a>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
</div>
我刚打电话从模..
$("a#LaunchDemo").click();
但模式只是blinking
在屏幕上,我也通过按钮点击调用模态.same问题iam越来越,我出错了,请帮助..
$('#myModal')。modal('show');它的工作原理 – sakar 2013-02-17 00:10:38
确保您在关闭正文标记之前在页**的**底部加载Bootstrap.js。如果你这样做,你不需要写一行JS。 – 2013-05-20 20:30:13