Answers for "event when select item in select2 in jquery"

2

select2.org events

$('#mySelect2').on('select2:select', function (e) {
    var data = e.params.data;
    console.log(data);
});
Posted by: Guest on July-20-2020

Code answers related to "event when select item in select2 in jquery"

Browse Popular Code Answers by Language