[jQuery] Validation pluggin
I have a form with a div. All fields are inside that DIV.
Then I use clone method to add a new div with the same code that the
original.
Before append it to the DOM I change the id and name of all field.
Then I get:
<div>
age:
<input type=text name=n1 id=id1 class='{number: true}'>
</div>
<div>
age:
<input type=text name=n2 id=id2 class='{number: true}'>
</div>
That work fine however....seems that validation only work for the
original (id2) the scond one doesn't validate the field.
Any suggestion?