i have a modal and in my modal there are 3 tabs but the user cannot see any nav-tabs to change the tabs there are some buttons in the modal-body to switch between specific tabs. i want when this modal opens every time i see a specific tab(the first one always). what happens now is that i see the last closed tab.
here is a sample of my code
<button class="btn btn-default" data-toggle="modal" data-target="#theModalID"">open modal</button>
<div class="modal fade" id="theModalID" role="dialog">
<div class="tab-content">
<div id="tab1" class="tab-pane fade in active">
<!-- tab 1 -->
</div>
<div id="tab2" class="tab-pane fade">
<!-- tab 2 -->
<button type="button" class="btn btn-default" data-toggle="tab" href="#tab3">tab3</button>
</div>
<div id="tab3" class="tab-pane fade">
<!-- tab 3 -->
<button type="button" class="btn btn-default" data-toggle="tab" href="#tab1">tab1</button>
</div>
</div>
</div>
i want on modal show every time see tab 1 as the active tab. i mention again there is no nav-tabs to switch between tabs. tnx
activefor the tab-content - Rajshekar Reddy