Repeating div with form fields

后端 未结 3 773
谎友^
谎友^ 2020-12-16 08:41

I have a form where I want to be able to duplicate a group of fields as many times as I want. And I also want to have field id, name, and label\'s

3条回答
  •  长情又很酷
    2020-12-16 09:14

    Use this after you clone your object

    Fiddle around :) http://jsfiddle.net/fedmich/MZjKR/1/

    I'll leave some TODO for you, change the 3 to the current number of id

    
    
                                     
                  
提交回复
热议问题