multi select get value code example
Example 1: get array of selected options from select element
var values = $('#select-meal-type').val();
Example 2: get array of selected options from select element
function getSelectValues(select) {
var result = [];
var options = select && select.options;
var opt;
for (var i=0, iLen=options.length; i