Clone a div that contains a "customized" jQueryUI datePicker

I have a div containing 3 fields

You can see the image here
http://imgur.com/A3tbd.jpg

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

My problems:

  • It does not clone datePicker correctly.
  • I am using the validate form plugin, but I assume that this plugin is not ready to check for cloned elements

Is there any simple code, another plugin, or some functions that I should use to execute this sequence?

  • Make sure the user fills 3 fields of the actual div
  • If so, clone the div and create a new set of three fields. Also, the datePicker clone is correct
  • , div ( 3 )

,

+3
1

, , . . , , datepicker .

+1

Source: https://habr.com/ru/post/1741009/


All Articles