--- title: Methods taxonomy: category: docs process: twig: true never_cache_twig: true --- Select2 supports methods that allow programmatic control of the component. ## Selecting a value To programmatically select a value for a Select2 control, use the jQuery `.val()` method: ``` $('select').val('US'); // Select the option with a value of 'US' $('select').trigger('change'); // Notify any JS components that the value changed ``` Select2 will listen for the `change` event on the `