有人可以帮我连接这些代码。我正在使用 Twitter 引导程序,并且我有一个下拉列表,当用户在下拉列表中选择一个项目时,我想显示与所选项目相对应的选项卡。
到目前为止,这是我的html代码...
<select>
<option>Select...</option>
<option value=1>Individual Investor</a></option>
<option value=1>Joint Investors</option>
<option value=3>Company Investor</option>
<option value=1>Trust (Individual Trustees)</option>
<option value=2>Trust (Corporate Trustees)</option>
<option value=1>SMSF (Individual Trustees)</option>
<option value=2>SMSF (Corporate Trustees)</option>
</select>
<div class="tabbable"> <!-- Only required for left/right tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#tab0" data-toggle="tab">Investor Details</a></li>
<li class="hidden"><a href="#tab1" data-toggle="tab">Individuals</a></li>
<li class="hidden"><a href="#tab2" data-toggle="tab">Joint</a></li>
<li class="hidden"><a href="#tab3" data-toggle="tab">Company</a></li>
</ul>
<div class="tab-content">
<div class="active tab-pane" id="tab0">
<div class="alert">
Select your Investor Type from the Dropdown list above
</div>
<legend>Investor Details</legend>
<label>Select your Investor Type from the Dropdown list above</label>
</div>
<div class="tab-pane" id="tab1">
<legend>Individual Investor Details</legend>
<label>First Name</label>
<input class="input-xlarge" type="text" placeholder="First Name">
</div>
<div class="tab-pane" id="tab2">
<legend>Joint Investor Details</legend>
<label>Both Names</label>
<input class="input-xlarge" type="text" placeholder="Enter both Names">
</div>
<div class="tab-pane" id="tab3">
<legend>Company Investor Details</legend>
<label>Company Name</label>
<input class="input-xlarge" type="text" placeholder="Enter Company Name">
</div>
</div>
</div>
我需要什么才能让它发挥作用?提前致谢。