Answers for "select2 on change grab selected option val"

2

get select2 selected value

//initialize
$('#mySelect2').select2('data');
//get selected value
$('#mySelect2').find(':selected');
Posted by: Guest on June-23-2020

Code answers related to "select2 on change grab selected option val"

Code answers related to "Javascript"

Browse Popular Code Answers by Language