0

Can any one help to multi level Clone solution for this Can I have multiple levels of nested cloned forms using SheepIt JQuery plugin?

any help would be greatly appreciated.

Community
  • 1
  • 1
  • What you want solve his problem or you have different problem then try [this](http://stackoverflow.com/questions/7945061/jquery-error-cannot-call-method-indexof-of-undefined)? – Amol Jul 11 '13 at 05:53
  • Yes, but it is not working, can you please provide working example, I want the solution for this question : Can I have multiple levels of nested cloned forms using SheepIt JQuery plugin?, please go to this URL –  Jul 11 '13 at 06:07
  • Show me what you tried and what error you have? – Amol Jul 11 '13 at 06:16

1 Answers1

0

Try this For reference

afterAdd:function (data) {
    initializeAutotab($('input.autotab', data));
    initializeDatePicker(data);
}

if you are using nested forms, you must specify the same afterAdd to the nested options.

Regardless, this is an alternative to using live/on.

also note that you want to use afterAdd instead of afterClone because afterClone seems to be before the content is actually added to the DOM.

Community
  • 1
  • 1
Amol
  • 1,431
  • 2
  • 18
  • 32
  • Okay, My issue is not this, please go to this URL : http://jsfiddle.net/njB5t/ you will see "add test", when you click it works, when you click on address under "add test", it is not working for second level clone for test –  Jul 11 '13 at 06:57