Click here to Skip to main content
15,349,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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;}

p.s. : it works fine on Chrome...


1 solution

Try with
ui-autocomplete{position : relative; z-index: 100 !important;}

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
nina4ever 26-Nov-14 8:35am
do u mean? .ui-autocomplete{position : relative; z-index: 100 !important;} ?
i tried it and it didn't work :(
Sinisa Hajnal 26-Nov-14 8:42am
Yes, that is what I meant...use developer tools and observe how it behaves and what classes are active while you type.
Sinisa Hajnal 26-Nov-14 8:47am
Updated the solution, there was a question on SO, it seems you have to use some plugin to avoid the problem (or at least see how it avoids it) - the link in the solution.
nina4ever 27-Nov-14 2:47am
thanks, but it didn't work. it gave me an exception, and i am not sure if i used it right anyway.
shall i post a new question with the code and the exception message, since you haven't used bgiframe before?
Sinisa Hajnal 27-Nov-14 3:17am
Please do. I'll help as I can. When you ask the question, put a link to it in the comment here.
nina4ever 27-Nov-14 7:27am

thanks for your time and concern

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900