Skip to content Skip to sidebar Skip to footer

Twitter Bootstrap Dropdown Links Not Working

I am using bootstrap version 2.0 I have the following html structure - Now when I click on the Filter by Team the dropdown shows properly. Now when I click on the link, I should b

Solution 1:

The problem is that you have the data-toggle attribute set for the <ul>, that attribute is just for the link that you want to open/close the dropdown, remove it and the links should work.

Here's the updated fiddle with the correct bootstrap version and the attribute removed.

Also the disabled class is used on the toggle link to prevent the opening of the dropdown, you should remove it from your links since it's not serving any real purpose.

Solution 2:

The links are working perfectly fine. When we use relative links like href="/task/list/orgteam/5/" we need to be sure that we are running this page on a website where these links exist.

To add to clarity, I added a link to google as the last list item in this new fiddle (click here to view) and because it uses absolute url href="http://www.google.com", it works just fine.

Solution 3:

I faced same problem with bootstrap framework and at the end got the solution (worked for me). Import all your required javascripts, mainly jquery.js .

Post a Comment for "Twitter Bootstrap Dropdown Links Not Working"