Cjuidatepicker Can't Open When Update Form [Solved]

I think too that it’s the duplicated IDs which might be the cause of problem.

it still does not work (the calandar does not appear).

thank you for your advice

How do I do?

I am trying to understand why the result of ajax request return two jquery codes (I think is the cause of probleme)

Just remove ‘echo’.




$this->renderPartial('_form', array('model'=>$model,'type'=>$type, 'destination_form'=>$destination_form));



Thank you very much ! When I replace



$this->renderPartial('_form', array('model'=>$model,'type'=>CHtml::encode($_GET['type']), 'destination_form'=>$destination_form),false,true);

by



$this->renderPartial('_form', array('model'=>$model,'type'=>CHtml::encode($_GET['type']), 'destination_form'=>$destination_form));

id conflict has been solved.

The trid paramater (Postprocesses) had be false. This was the cause of my problem

Thank for your help !