I have some inputs which names is array in one form:
<input type="text" name="email[]" id="email" />
<input type="text" name="email[]" id="email" />
<input type="text" name="email[]" id="email" />
etc.
when I submit the form I need to check in jQuery if have a duplicated value in this inputs, can help me anyone?
thanks :)
idmust be unique within the document.idalso is unique in documentidattribute of everyinputelement.