Enrique
Enrique

Reputation: 1045

Clone a div that contains "customized" jQueryUI datePicker

I have a div that contains 3 fields

You can see the image here
https://i.sstatic.net/3Jj7Z.jpg

I'm cloning this div with this plugin
http://sroucheray.org/blog/demos/jquery-dynamic-form/

My problems are:

Is there any easy code, other plugin or some functions I should use for doing this sequence?

Thanks,

Upvotes: 3

Views: 478

Answers (1)

John Hartsock
John Hartsock

Reputation: 86882

I ran in to a problem just like that with the date picker and cloning it. My solution was to remove the date picker prior to the cloning the elements. Then after cloning the elements, initialize the datepicker on the clone.

Upvotes: 1

Related Questions