Show "loading..." Message In Cjuitabs While Loading Content

Hi all!

Is any simple way to show "Loading…" message in CJuiTabs while content is loading by Ajax request?

here is very simple example with loading… when you click on tab




<?php 

$ajaxUrl = array("ajaxload");

$this->widget('zii.widgets.jui.CJuiTabs', array(

    'tabs'=>array(

        'StaticTab 1'=>'Content for tab 1',

        'StaticTab 2'=>array('content'=>'Content for tab 2', 'id'=>'tab2'),

        // panel 3 contains the content rendered by a partial view

        'AjaxTab'=>array('ajax'=>$ajaxUrl, 'id'=>'ajaxTab'),

    ),

    // additional javascript options for the tabs plugin

    'options'=>array(

        'collapsible'=>true,

        'select'=>"js:function(){ $('#ajaxTab').html('Loading...') }",

    ),

)); ?>

Thank you so much! It works!

:rolleyes: