Reputation: 2840
I've been having some difficulties trying to get the tabs to work in the twitter bootstrap, and have been slightly confused on what the documentation is trying to say. I have a small page that has three tabs. I have the first tab appearing, but I can't seem to switch between the other two.
According to the Twitter Bootstrap Documentation I need to activate each tab, which I have done with one of them
$('#tabBar a[href="#Sewer"]').tab('show');
But whenever I try to click on the tab, it doesn't seem to switch to that tab. Here is the fiddle of what I've got so far: Tab Fiddle
Upvotes: 0
Views: 96
Reputation: 388316
jQuery is required for bootstrap plugins to work Include jQuery to your page using
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
Upvotes: 3