I have a form where users can add input fields with jQuery.
After submitting the
if you want selector get the same id, use:
$("[id=task]:eq(0)").val(); $("[id=task]:eq(1)").val(); etc...