Passing array via ajax - a simple solution
Can anyone help me with this problem. I can not pass an array via ajax. The thing is I have a form that sends three fields with the following structure:
<input type="hidden" name="produtoq[1]" value="25" size="3" maxlength="3" />
<input type="hidden" name="produtoq[2]" value="20" size="3" maxlength="3" />
<input type="hidden" name="produtoq[3]" value="14" size="3" maxlength="3" />
How to pass these values via ajax with jquery?