select2 multiple select with other values code example
Example: select 2 select a value
SELECT2 V4 :
============
For select2 v4 you can append directly an option/s as follow:
Or with JQuery:
---------------
var $newOption = $("").val("TheID")
.text("The text")
$("#myMultipleSelect2").append($newOption).trigger('change');
other example :
---------------
$("#myMultipleSelect2").val(5).trigger('change');