开发者

IE 9 doesn't show dropdown on single click

开发者 https://www.devze.com 2023-04-02 11:02 出处:网络
I have the simple \"select\" control with several options. For some reason dropdown list is shown only on double click in IE 9 (IE 7, 8 works great - single click). There are no event handlers attache

I have the simple "select" control with several options. For some reason dropdown list is shown only on double click in IE 9 (IE 7, 8 works great - single click). There are no event handlers attached.

UPDATED

<select id="test" name="test">
    <option value="123">123</option>
    <option value="456">456</option>
</select>

I'm wonderin开发者_C百科g about some solution/workaround.

Thanks


This should help you:

http://webbugtrack.blogspot.com/2009/02/bug-487-onclickonfocus-bugs-on-select.html

It's a bug in all versions of ie.


in IE you have to click click twice to update your selection if you use a style or a class with a applied width. It is a one click if you don't use width CSS on a SELECT tag. This is my experience. Hope this helps a little...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号