Answers for "select2 select value in not changing"

0

select2 select value in not changing

any .val() updates need to be followed by
$('#unit').val('21'); // Select the option with a value of '21'
    $('#unit').trigger('change'); // Notify any JS components that the value changed
Posted by: Guest on July-24-2021

Code answers related to "select2 select value in not changing"

Browse Popular Code Answers by Language