Hi
I have added a date picker:
<div class="row">
<?php echo $form->labelEx($model,'bookdate'); ?>
<?php
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'name'=>'bookdate', // the name of the field
// additional javascript options for the date picker plugin
'options'=>array(
'showAnim'=>'fold',
'dateFormat'=>'yy-mm-dd', // optional Date formatting
'debug'=>true,),
'htmlOptions'=>array(
'style'=>'height:20px;'
),
));
?>
<?php //echo $form->textField($model,'bookdate'); ?>
<?php echo $form->error($model,'bookdate'); ?>
</div>
But I would like to disable some dates in the date picker.
I have found how to do that in "plain Jquery"
Any ideas how to do that in Yii??
/JEsper