i have a form which contains multiple input text box that will take emails.
<li style="text-decoration: none" id="email1"><input type="text" name="email[]" /></li>
<li style="text-decoration: none" id="email2"><input type="text" name="email[]" /></li>
There will also be option to add more input fields.
i want to loop over each email so as to perform pre-post validation.
How do i loop over email[] using jquery