I'm trying to mimic focus on a select field.
eg When a user gains focus on a select field, the select field shows the options in a drop down list.
When using $('select').focus() , the options are not shown.
Any help on this one guys? =)
在焦点上将select的size属性设置为6(或者您喜欢的任何小int),并在blur上将其设置为0。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.