title: How to fire button click automatically when page is load
body: <p>I have included given code</p>
  
  <pre><code>&lt;div class="tab-control"&gt;
    &lt;ul class="tabs"&gt;
      &lt;li class="active"&gt;
        &lt;a href="#aggregated"&gt;Aggregated&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#app"&gt;App&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#operator"&gt;Operator&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#top"&gt;Top&lt;br&gt;by User&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#total"&gt;Total&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#session"&gt;Sessions&lt;/a&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="frames"&gt;
      &lt;div class="frame" id="app"&gt;
        welcome app
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="frame" id="operator"&gt;
        welcome operator
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="frame" id="aggregated"&gt;
        welcome aggregated
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="frame" id="top"&gt;
        Thankyou top
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="frame" id="total"&gt;
        Exact Total
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="frame" id="session"&gt;
        Your session
        &lt;div class="time"&gt;yola&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in my js I have written this</p>
  
  <pre><code>$(document).ready(function() {
  $('.tab-control').tabcontrol().bind("tabcontrolchange", function(event, frame) {
    switch($(frame).attr('id')) {
      case "operator":
        break;
      case "aggregated":
        $('.time').text('aggregates')
        break;
      case "app":
        $('.time').text('app')
        break;
      case "top":
        $('.time').text('top')
        break;
      case "total":
        $('.time').text('total')
        break;
      case "session":
        $('.time').text('session')
        break;
    }
  });
  })
  </code></pre>
  
  <p>But when page load it shows at that time aggregated tab is active and it shows
  <code>&lt;div class="time"&gt;yola&lt;/div&gt;</code> and when I click on this tab then it changes to 
  <code>&lt;div class="time"&gt;aggregates&lt;/div&gt;</code> So I need when my page get loads at that time it automatically clicks on tab. Please dont give me that answer I will set in my <code>&lt;div class="time"&gt;aggregates&lt;/div&gt;</code> as my requirement is different. Thanks in advance</p>