How do I change selected value of select2 dropdown with JqGrid?

For select2 version >= 4.0.0 The other solutions might not work, however the following examples should work. Solution 1: Causes all attached change events to trigger, including select2 $(‘select’).val(‘1’).trigger(‘change’); Solution 2: Causes JUST select2 change event to trigger $(‘select’).val(‘1’).trigger(‘change.select2’); See this jsfiddle for examples of these. Thanks to @minlare for Solution 2. Explanation: Say I … Read more