我有一个包含3个领域的小区。
You can see the image here
http://imgur.com/A3tbd.jpg
I m cloning this div with this plugin
http://sroucheray.org/blog/demos/jquery-dynamic-form/
我的问题是:
- It doesn t clone correctly datePicker.
- I m using validate form plugin, but I guess this plugin is not prepared to validate cloned elements
我是否应当利用任何容易的守则、其他假想或某些功能来完成这一顺序?
- Verify user has filled the 3 fields of the actual div
- If so, clone the div and create a new set of 3 fields. Also, clone datePicker correctly
- If user clicks the delete button, erase last div (last 3 fields)
- When form submitted, post all fields correctly
感谢