IE6上的JQuery UI自动完成:打开菜单在页面上的DropDownList控件后面呈现 [英] JQuery UI Autocomplete on IE6: open menu is rendered behind DropDownList control on page
问题描述
亲爱的,
我正在页面上使用JQuery-UI Autocomplete。在自动完成之下,有一个DropDownList。
在IE6上浏览时,当我在自动完成的输入字段内写入时,建议菜单成功打开,但它在DDL后面渲染...
i将此样式添加到具有自动完成和DDL的同一页面,但没有成功:
dear all,
i am using JQuery-UI Autocomplete on the page. beneath the autocomplete, there is a DropDownList.
when browsed on IE6 , and when i write inside the input field of the autocomplete, the suggestions menu opens successfully, but it gets rendered behind the DDL...
i added this style to the same page having the autocomplete and DDL, but with no success:
.autocomplete{position : relative; z-index: 100 !important;}
ps :它在Chrome上工作正常...
谢谢
p.s. : it works fine on Chrome...
thanks
推荐答案
试用
Try with
ui-autocomplete{position : relative; z-index: 100 !important;}
ui-autocomplete-input class被添加到文本框中,autocomplete-ui是绑定到它的
- 元素的类
试试这个:
大框解决方案 [ ^ ]
I没有尝试链接,这似乎是老问题。
如果有这个帮助,请花时间接受解决方案。谢谢
ui-autocomplete-input class is added to the textbox, autocomplete-ui is the class of
- element bound to it
Try this:
Big frame solution[^]
I didn't try the link, it seems old question in SO.
If this helpls please take time to accept the solution. Thank you
这篇关于IE6上的JQuery UI自动完成:打开菜单在页面上的DropDownList控件后面呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!