How to get an Array in jQuery with multiple-input (same input id)
- by x4tje
Hello,
I've a form where you're able to add more input fields with jQuery.
<input type="text" id="task" name="task[]" />
I get an array when i print it with php after submitting the form.
I want to handle this with the $.ajax() but i've no idea how i can turn up my <input type="text" id="task" name="task[]" /> in an array in jQuery.
Thanks in advance,
Firdaus