get selected value of select2 dropdown in jquery 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');