posted 12 years ago
Hi,
I have a search form on which I have the following INPUT field
When this search form is accessed I can see the date picker attached to the input#pickUpDate element when I click on it.
I submit this search form using DWR by invoking the search(...) function (shown below).
I reset the HTML body element's data with the response I receive. In the response received, I have a similar search form which contains the same input element (input#pickUpDate).However after I reset the body element's data using
in the DWR callback function and try to attach datepicker it does not work.I inspected that the element is appended the datepicker's "hasDatepicker" marker class name but still on focusing/clicking on the input field I cannot see the datepicker.
Following is my jQuery code :
I have gone through all the relevant posts I could find regarding this but the solutions mentioned in them didn't worked for me.
I am in need to know what is the causing the mentioned problem and how to get this resolved?
Regards,
Jignesh
The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU