showing results for - "select2 preselect option"
Anna
04 May 2019
1$('#mySelect2').val('1'); // Select the option with a value of '1'
2$('#mySelect2').trigger('change'); // Notify any JS components that the value changed
3