Bootstrap tabs are not acting as expected -


i tried setup bootstrap tabs without javascript (like written here: http://getbootstrap.com/javascript/#markup).

code copied bootstrap page:

<div>   <!-- nav tabs -->   <ul class="nav nav-tabs" role="tablist">     <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">home</a></li>     <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">profile</a></li>     <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">messages</a></li>     <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">settings</a></li>   </ul>    <!-- tab panes -->   <div class="tab-content">     <div role="tabpanel" class="tab-pane active" id="home">tab 1</div>     <div role="tabpanel" class="tab-pane" id="profile">tab 2</div>     <div role="tabpanel" class="tab-pane" id="messages">tab 3</div>     <div role="tabpanel" class="tab-pane" id="settings">tab 4</div>   </div>  </div> 

https://jsfiddle.net/zoker/w6xeyznk/

as can see, not work , don't know why. got idea?

have included jquery.js , bootstrap.js it's important work because don't have code js part bootstap have it.

<script src="js/jquery.min.js"></script>  <script src="js/bootstrap.js"></script> 

Comments