我刚刚开始使用bootstrap。我在这里有一个测试页面:http://devshed.atbashservices.com/TimeTracker/ViewEditCustomers.aspx
它有以下菜单系统。
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Jobs <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Find Job</a></li>
<li><a href="#">Create Job</a></li>
<li><a href="#">View/Edit Jobs</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Customers <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Find Customer</a></li>
<li><a href="#">Create Customer</a></li>
<li><a href="ViewEditCustomers.aspx">View/Edit Customer</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Billing Types <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Find Billing Type</a></li>
<li><a href="#">Create New Billing Type</a></li>
<li><a href="#">View/Edit Billing Type</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Jobs <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Find a Job</a></li>
<li><a href="#">Create New Job</a></li>
</ul>
</li>
</ul>
</div>
下拉列表无效。但正如文档所述,脚本被引用。
我做错了吗?
答案 0 :(得分:2)
我在你的代码中找了一些bootstrap.min.js文件但找不到。