Hi all,
I’m using widget CJuiTabs, I want to set active for second tab.
Here is my code :
<?php
$this->widget('zii.widgets.jui.CJuiTabs',array(
'tabs'=>array(
'Export' => array('content'=>$this->renderPartial(
'export', array(), TRUE
)),
'Import' => array('content'=>$this->renderPartial(
'import', array('model' => $model), TRUE
)),
),
// additional javascript options for the tabs plugin
'options'=>array(
'collapsible'=>false,
'selected'=> 1,
),
));
?>
I want to set active for tab “Import” and used ‘selected’=> 1 but it still not working. Please help me !