var selectedValuesTest = ["WY", "AL", "NY"]; $(document).ready(function() { $("#e1").select2({ multiple: true, }); $('#e1').val(selectedValuesTest).trigger('change'); });