title: dynamically add tab in YiiBooster TbTabs widget
body: <p>I have created bootstrap.widgets.TbTabs as below, how can I add a new tab dynamically on client side. Is there any event using which I can add new tab just like the "shown" event in below code.</p>
  
  <pre><code>&lt;?php $this-&gt;widget('bootstrap.widgets.TbTabs', array(
      'id' =&gt; 'mytabs',
      'type' =&gt; 'tabs',
      'tabs' =&gt; array(
              array('id' =&gt; 'tab1', 'label' =&gt; 'Tab 1', 'content' =&gt; $this-&gt;renderPartial('tab1', null, true), 'active' =&gt; true),
              array('id' =&gt; 'tab2', 'label' =&gt; 'Tab 2', 'content' =&gt; 'loading ....'),
              array('id' =&gt; 'tab3', 'label' =&gt; 'Tab 3', 'content' =&gt; 'loading ....'),
      ),
      'events'=&gt;array('shown'=&gt;'js:loadContent')
  ));?&gt;
  </code></pre>