A Problem In Using Cjuidatepicker

<div class="row">

<?php echo $form->labelEx($model,‘Date’); ?>

<?php $this->widget(‘zii.widgets.jui.CJuiDatePicker’,array(




// additional javascript options for the date picker plugin


‘dateFormat’ => ‘yy-mm-dd’,




‘showOtherMonths’=>true,// Show Other month in jquery

‘selectOtherMonths’=>true,// Select Other month in jquery







‘constrainInput’ => ‘false’,

//‘minDate’ => ‘2000-01-01’, // minimum date

//‘maxDate’ => ‘2099-12-31’,


‘htmlOptions’=>array(‘size’=>‘10’, ‘readonly’=>“readonly”),

hi, i’m new to all of this so i wante to ask help about using Cjuidatepicker to enter a date into the database i’m using the previous code as a satrt but the calender doesn’t appear when i click on the box and even when i set flat to true i can’t see a dynamic calender all i see is more like an image, in addition i want to know how to use the date selected to but it in the textfield ? do i need to write a javascript code?! thanks in advance.