get values from multiple select jquery code example
Example: get selected values in multiselect jquery
$('.select2-multi option').prop('selected','true').map(option => option.value).join(',');
$('.select2-multi option').prop('selected','true').map(option => option.value).join(',');