Answers for "bootstrap method=get dropdown javascript select2 redirect"

0

select2 destroy

if ($('#mySelect2').hasClass("select2-hidden-accessible")) {
    // Select2 has been initialized
    $('#mySelect2').select2('destroy');
}
Posted by: Guest on May-27-2020
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 "bootstrap method=get dropdown javascript select2 redirect"

Code answers related to "Javascript"

Browse Popular Code Answers by Language