macek/jquery-serialize-object

when select with multiple property, can't be work

chloe899 opened this issue · 1 comments

<select multiple="multiple" name="test">
<option selected>a</option>
<option selected>b</option>
<option selected>c</option>
</select>

macek commented

change the name attribute from this

<!-- bad -->
<select name="test" multiple> ...

to this

<!-- good -->
<select name="test[]" multiple> ...