dapatkan nilai terpilih
//initialize
$('#mySelect2').select2('data');
//get selected value
$('#mySelect2').find(':selected');
Andrew Lautenbach
//initialize
$('#mySelect2').select2('data');
//get selected value
$('#mySelect2').find(':selected');
//get all selected select object
$('#select2Id').find(':selected');
//get all selected value
$("#select2Id").select2("val");
$('#id :selected').text();
$('#Select2ID option[value="actualVal"]).text()
alert("Selected value is: "+$(".leaderMultiSelctdropdown").select2("val"));
alternatively, if you used a regular selectbox as base, you should be able to
use the normal jquery call, too:
alert("Selected value is: "+$(".leaderMultiSelctdropdown").val());