$("#myMultipleSelect2").val(5).trigger('change');. To dynamically set the "selected" value of a Select2 component: $( ...
確定! 回上一頁