parmarmayur9090 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Reinitialising the datepicker to the same fields after loading and changing tabs through ajax. #178

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
The first time the page is loded using jquery tabs, in ajax mode, and the 
datepicker is applied to various fields, with multiple select option 
enabled, it works fine. The components that i apply the datepicker to are 
created using javascript. first time all works well. When i change the tab 
again, before the tab is changed i take the html clone as is and store it 
in a variable, then when i come back to the current tab, i  display the 
html as i left it before the tab was chnaged and loop through the created 
components to reinitialise teh datepicker, but it does not work, as if the 
datepicker event / instance is not applied to that component.

What is the expected output? What do you see instead?
what i expect is that the datepicker to start working as it was working 
when i apply it to the page for the first time when the page is loaded 
through jquery tabs, ajax based. But instead when i click on the calendar 
icon, i just get the page being diverted to the # (the href parameter in 
the calendar icon link).

Please provide a URL to a page displaying the problem.
sorry cannot provide the url currently.

What version of the datepicker are you using? On what operating system? And 
Which Browser?
I am using version 2.1.1

Please provide any additional information below.

Original issue reported on code.google.com by jai4...@gmail.com on 20 Mar 2010 at 1:22