I've copied the sample from http://twitter.github.com/bootstrap/components.html
exactly, but the drop down never appears (I just get taken to the top
of the page). I'm using boostrap-dropdown.js v1.3.0. I have tried
switching to the latest version but that didn't help.
Code:
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
Action
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">test</a></li>
</ul>
</div>
I've tried manually activating the dropdown using JS: $('.dropdown-
toggle').dropdown() and that didn't help either. Why isn't this
working? I can see the button, it's just clicking on it doesn't bring
up the menu (just takes me to the top of the page).