SyntaxFix
Write A Post
Hire A Developer
Questions
I tried a number of these and finally came up with the following that works for me with Select2 4.0.1. element is the <select> element.
<select>
$.data(element).select2.on("focus", function (e) { $(element).select2("open"); });