我正在制作一个下拉表单,您可以在其中设置电子邮件,并且如果您有公司,则应该可以选择。
如果您尝试下一页的下拉列表:My example page - 下拉列表无效。我可以看到页面加载时,<ul>
标记加载速度非常快。
有人能看出出了什么问题吗?
<input placeholder="Email" name="EMAIL" class="mail" type="text" id="mce-EMAIL" required="">
<span class="icon4"><i class="fa fa-envelope" aria-hidden="true"></i></span><br>
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Company
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Yes</a></li>
<li><a href="#">No</a></li>
</ul>
</div>
&#13;
答案 0 :(得分:2)
确保Bootstrap的所有链接都正常工作。下面的代码是bootstrap在线版本的链接:
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>