javascript - How to disable other tabs while loading any tab in bootstreap3 -


i using following tab load remote tab.

here want load first tab default(after loading page) , while loading tab other tabs should disabled.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">    <!-- optional theme -->  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">    <!-- latest compiled , minified javascript -->  <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>    <ul class="nav nav-pills"  id="tab">      <li><a href="http://www.google.com" data-target="#google" class="media_node active span" id="info_tab" data-toggle="tablist" rel="tooltip"> google </a>      </li>      <li><a href="http://www.yahoo.com"  data-target="#yahoo" class="media_node span" id="posts_tab" data-toggle="tablist" rel="tooltip"> yahoo</a>     </li>  </ul>     <div class="tab-content">     <div class="tab-pane active" id="google">click load</div>                  <div class="tab-pane" id="yahoo">loading</div>      </div>
how achive this?


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -