Do you want to enable via javascript?
If yes you can try the below code
$('#myTab a:first').tab('show'); // Select first tab
If you want to do it via CSS you can set the class of the tab to "active"
Cheers,
Sri
On Tuesday, May 8, 2012 6:52:29 AM UTC+5:30, ShaunR wrote:
>
> I have a page with a bunch of tabs, in the code i set the first tab to
> active. I want to be able to link to this page but also specify a tab to
> display rather than always having the first tab active. I figured i could
> simply pass page.html#tab-X but that doesnt appear to be working. Is there
> some trick to getting bootstrap to do this or do i have to do this on my
> own?
>