0
我用選項卡內容更改成功創建了一個下拉列表。但問題是,在我選擇下拉菜單中的值來更改標籤內容之後 - 比方說從wan_static_ip
到wan_dynamic_ip
,我不能再次切換回wan_static_ip
。帶有製表符窗格的引導程序下拉列表
的另一個問題是,當已經選擇的值其將永久選擇並且不能從再次
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"/>
<div class="borders col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="true">
Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li role="presentation"><a href="#wan_static_ip" data-toggle="tab">Static IP</a>
</li>
<li role="presentation"><a href="#wan_dynamic_ip" data-toggle="tab">Dynamic IP</a>
</li>
<li role="presentation"><a href="#wan_pppoe" data-toggle="tab">PPPoE</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade in active" id="wan_static_ip">1</div>
<div class="tab-pane fade" id="wan_dynamic_ip">2</div>
<div class="tab-pane fade" id="wan_pppoe">3</div>
</div>
</div>
您使用的是什麼版本的引導程序? – 2015-02-11 03:30:23
我使用最新引導v3.3.2 – cheater29 2015-02-11 04:05:31