style problem with jQueryUI Autocomplete widget (using remote datasource)

Posted by blee on Stack Overflow See other posts from Stack Overflow or by blee
Published on 2010-05-13T23:36:56Z Indexed on 2010/05/13 23:44 UTC
Read the original article Hit count: 379

Filed under:
|

<input class="ui-autocomplete-input"/> represents the text field to be autocompleted.

<ul>...</ul> contains the list of matching items from the text field input. It is added to the document by remote call as you type.

<ul>...</ul> is added just inside the closing </body> tag. I was expecting the <ul>...</ul> to be placed just after the <input class="ui-autocomplete-input"/>. Because this does not happen, the <ul>...</ul> falls outside of the containing div and the resulting style is broken.

Suggestions? Can I specify where the <ul>...</ul> gets placed in the document? Thanks in advance for your time.

© Stack Overflow or respective owner

Related posts about css

Related posts about jquery-ui