title: How to add class active to tab bootstrap after loading window?
body: <p>Hi all I am a new of jquery I use boostrap 3 and I have the menu tab.
  and this is my code menu bootstarp and jquery:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
   $(document).ready(function(){
    $("#tabs").click(function(){
      $(this).addClass("active");
    });
    });
  &lt;/script&gt;
  &lt;div id="nav_left" class="col-md-9"&gt;
    &lt;ul id="navigation" class="nav nav-tabs"&gt;
      &lt;li id="tabs"&gt;&lt;a href="&lt;?php echo base_url().'./site/burger' ?&gt;"&gt;Burger&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo base_url().'./site/sides' ?&gt;"&gt;Sides&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo base_url().'./site/beverages' ?&gt;"&gt;Beverages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo base_url().'./site/make_own_burger' ?&gt;"&gt;Make Your Own Burger&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo base_url().'./site/download' ?&gt;"&gt;Download Menu&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  </code></pre>
  
  <p>Example When I ckick on menu burger while loading window it is add class. but when finish loading window it remove class .How Can I add class when finish loading window ?</p>