I attempted to implement a drop-down menu using the following codes. However, I am facing some issues as clicking on the drop-down menu does not open the sub-menus as expected.
Is there a way for me to resolve this problem?
<div id="control-panel" class="col-xs-10 col-xs-offset-1 row">
<div id="time-dropdown" class="dropdown col-xs-3">
<a class="dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Any Time
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Any Time</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Past Week</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Past Month</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Past Year</a></li>
</ul>
</div>
<div id="num-results-dropdown" class="dropdown col-xs-3">
<a class="dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
10 Results
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">10 Results</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">20 Results</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">30 Results</a></li>
</ul>
</div>
<div id="tld-dropdown" class="dropdown col-xs-3">
<a class="dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Any TLD
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Any TLD</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">.edu</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">.gov</a></li>
</ul>
</div>
</div>