📌  相关文章
📜  jquery select2 选项卡打开 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:14.146000             🧑  作者: Mango

代码示例1
// on first focus (bubbles up to document), open the menu
$(document).on('focus', '.select2-selection.select2-selection--single', function (e) {
  $(this).closest(".select2-container").siblings('select:enabled').select2('open');
});