title: Yii Bootster - TbTabs Change Tab Event
body: <p>How can I control a change of tab event when using TbTabs in Yii Bootter?</p>
  
  <p>Here is my code (but it didn't alert when I have changed tab):</p>
  
  <pre><code>$this-&gt;widget('bootstrap.widgets.TbTabs', array(
          'type' =&gt; 'tabs',
          'tabs' =&gt; array(
              array('label' =&gt; 'Trainer Modules', 'content' =&gt; 'content tab 1',
              array('label' =&gt; 'Default Modules', 'content' =&gt; 'content tab 2',
          ),
          'events' =&gt; array(
              'change' =&gt; "js:function(){alert('123');}"
          )
      ));
  </code></pre>