the val function called from the select will return an array if its a multiple. $('select#my_multiselect').val() will return an array of the values for the selected options – you dont need to loop through and get them yourself.
the val function called from the select will return an array if its a multiple. $('select#my_multiselect').val() will return an array of the values for the selected options – you dont need to loop through and get them yourself.