nav-tabs try out

 $('#btnReview').click(function(){
  $('.nav-tabs > .active').next('li').find('a').trigger('click');
});




<br><a class="btn btn-primary" href="#" id="btnReview">Review</a><br>
<ul class="nav nav-tabs">
    <li class="active"><a href="#tab1" data-toggle="tab">Shipping</a></li>
    <li><a href="#tab2" data-toggle="tab">Quantities</a></li>
    <li><a href="#tab3" data-toggle="tab">Summary</a></li>
</ul>
<div class="tab-content">
    <div class="tab-pane active" id="tab1">Home content...</div>
    <div class="tab-pane" id="tab2">Content here.</div>
    <div class="tab-pane" id="tab2">Content herddde...</div>
</div>

url nya :


http://www.bootply.com/61038

baca annya


https://groups.google.com/forum/#!topic/twitter-bootstrap-stackoverflow/piq0HcUG_cI

keyword

trigger tab click bootstrap

0 Response to "nav-tabs try out"

Posting Komentar