I am facing issue while i load a form on ajax request. i followed the steps :
- Enable jqueryUi in layout.
creates a form element like :
$dob = new ZendX_JQuery_Form_Element_DatePicker('patient_dob'); $dob->setLabel('') ->addFilter('StripTags') ->addFilter('StringTrim') //->addValidator('Date') ->setAttrib('readonly', 'true') ->setJQueryParam('dateFormat', 'yy-mm-d') ->setDecorators(array( 'Description', 'Errors', 'UiWidgetElement', array(array('data' => 'HtmlTag'), array('tag' => 'Div', 'class'=>'calender_input')) ));
and just called the element into form. It is working when page load normally but not with ajax request. What is the reason? any suggestions? i googled a lot about it.