select multiple selected values code example
Example 1: html select multiple selected values
var values = $('#select-meal-type').val();
Example 2: select2 multiple selected values
in_array($value, $array)
var values = $('#select-meal-type').val();
in_array($value, $array)