show/hide 列表的事件,选项为 < select > 元素
event for show/hide list with options of < select > element
所有!!!
显示或隐藏
操作:
用户按下键(例如 Enter)或在 < select > 项目上单击光标,并显示
用户按下键(例如 Esc)或 select 其他 html 元素并被隐藏
下拉列表
项目 #1
项目 #1
项目 #1
$('#myselect').on('event_show_dropdrown_list', function(){});
$('#myselect').on('event_hide_dropdrown_list', function(){});
focusin()
和 focusout()
jquery 方法应该可以满足您的需求
所有!!!
显示或隐藏
操作:
用户按下键(例如 Enter)或在 < select > 项目上单击光标,并显示
用户按下键(例如 Esc)或 select 其他 html 元素并被隐藏
下拉列表项目 #1 项目 #1 项目 #1
$('#myselect').on('event_show_dropdrown_list', function(){}); $('#myselect').on('event_hide_dropdrown_list', function(){});
focusin()
和 focusout()
jquery 方法应该可以满足您的需求