Trigger click on select box on hover

后端 未结 6 1374
孤独总比滥情好
孤独总比滥情好 2020-11-30 13:10

I\'m trying to have a select box automatically pop open when the use hovers over it, as if they had clicked it. Is this possible?

I would think I could

6条回答
  •  独厮守ぢ
    2020-11-30 13:25

    trigger only call the functions bound via one of the binding functions of jQuery.

    There is no cross-browser way to open a select from javascript (it might be possible to call this.click() on some versions of IE but I can't test, and I'm sure there is no way on other browsers).

提交回复
热议问题