I am trying to make a select2 box appear in its focused state on page load. I have tried the following:
According to the select2 documentation:
Should be all you need.
Found under the Programmatic Access section in the documentation.