macek/jquery-serialize-object

Does not grab multi-select options

Closed this issue · 1 comments

For select dropdowns that have the multiple attribute, only the last option is grabbed.

https://www.w3schools.com/tags/att_select_multiple.asp

The solution to this is to set the name of the select as an array. So the name should be name=value[], not name=value.