Answers for "how can I know if the option is removed from the select2"

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 "how can I know if the option is removed from the select2"

Browse Popular Code Answers by Language