select2 find search field for specific select -hiding -hide 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');