所以这是我的模态
<div class="modal hide fade" >
<div class="modal-header">
Some Content
</div>
<div class="modal-body" style="text-align:center;">
<div class="tabbable tabs-left">
<ul class="nav nav-tabs">
<li class="active"><a href="#a_c" data-toggle="tab">A</a></li>
<li><a href="#b_c" data-toggle="tab">B</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="a_c">
AC
</div>
<div class="tab-pane" id="b_c">
BC
</div>
</div> <!-- /tabbable -->
</div>
</div>
当我选择标签B时,关闭模态并再次选择模态 - 状态持续存在B.我希望模态重新开始,就像第一次一样,A
答案 0 :(得分:0)
尝试
$('#myModal').modal();
$('#myModal').modal('show');
按Tab键