Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

16
  • Perhaps you should look clone() also in your case, and simply add class to cloned form to refernce the new input fields :) Commented Jan 21, 2014 at 19:24
  • is ther a method called clone ?:) Commented Jan 21, 2014 at 19:25
  • Here it is clone() . Commented Jan 21, 2014 at 19:28
  • Yes there ia clone() method but suggested not to use as it can create duplicate id's. In my case I need to hav ethose id's unique. Commented Jan 21, 2014 at 19:29
  • mkyong.com/jquery/… -- May work but too much complexity. Commented Jan 21, 2014 at 19:30