passing array fields to jquery ajax
- by Rob Brandt
I have a form I am submitting via jquery ajax. Early in the form, I have this field:
<select name="inquirymodule[]" id="inquirymodule">
The user can add as many as they like, and all the selects go into the inquirymodule[] array.
The jQuery looks like this:
jQuery.ajax({
type: 'POST',
url: 'ajax.php',
…