All!!!
What events should be used when showing or hiding the dropdown list of < option >'s of < select > element?
Actions:
The user press key (Enter for example) or clicked the cursor on an < select > item and was showed dropdown list of < option >'s
The user press key (Esc for example) or select other html element and was hidded dropdown list of < option >'s
item #1
item #1
item #1
$('#myselect').on('event_show_dropdrown_list', function(){});
$('#myselect').on('event_hide_dropdrown_list', function(){});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…