我正在使用以下 YII 小部件代码
$this->widget('zii.widgets.jui.CJuiAccordion',array(
'panels'=>array(
'panel 1'=>'content for panel 1',
'panel 2'=>'content for panel 2',
// panel 3 contains the content rendered by a partial view
//'panel 3'=>$this->renderPartial('_partial',null,true),
),
// additional javascript options for the accordion plugin
'options'=>array(
'animated'=>'bounceslide',
),
));
我想点击面板 2 并在页面加载时显示数据,我该怎么办?