CJuiDatePicker是集成在Yii框架中的jquery日历控件
<?php
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'attribute'=>'start_date',
'model'=>$model,
'language'=>'ja',
'options'=>array(
'showAnim'=>'fold',
'dateFormat'=>'yy-mm-dd',
),
'htmlOptions'=>array(
'class'=>'text_form',
//'readonly'=>'true',
'onclick'=>'javascript:$(\'#flag\').attr(\'checked\',true);',
'encode'=>false,
'style'=>'ime-mode:disabled'
),
));
?>
原生态的jquery日历控件:
http://jqueryui.com/demos/datepicker/#option-monthNames