I’m having trouble with Twitter Bootstrap dropdowns. The first dropdown works but every other one doesn’t. I found this post: Bootstrap 2.1.1 dropdowns not working properly but this is coded copied directly from the twitter bootstrap site and it worked before i upgraded to 2.0.
Here’s a JSFiddle link http://jsfiddle.net/unWCN/
The problem resides in your
data-targetattributes. They should point to a specific dropdown parent, or to#if you use the default markup.If you set
data-target="#"for the dropdown togglers, your code works fine : jsfiddleNote: if the
data-targetattribute is not present, thehrefwill be used. Check the plugin doc