Home › Forums › JavaScript › Why this validation does not work: Visual Form Builder usage › Re: Why this validation does not work: Visual Form Builder usage
March 16, 2012 at 7:19 pm
#76591
xpy
Participant
I’m not sure, but you are not supposed to have two or more items with the same id… If you do, when you’ll try to select these items by id via jQuery you’ll only get one of the (I think it is the first…) I think that what you need is change the id’s after the clone… e.g. $(cloned).attr(id,$(cloned).attr(id)+’2′)…