jquery check if select2 fields are selected code example
Example: get select2 selected value
//initialize
$('#mySelect2').select2('data');
//get selected value
$('#mySelect2').find(':selected');
//initialize
$('#mySelect2').select2('data');
//get selected value
$('#mySelect2').find(':selected');