title: Jquery UI Autocomplete appends to body rather than the given object in JQ UI Version 1.8.6
body: <p>Ive been using jquery auto-completes on my web page for a while , but after updating jquery ui to version 1.8.6 from 1.8rc3 , the autocomplete ul object is now appended to the body rather than directly after the given selector.</p>
  
  <p>The code below is not valid of course, it just highlights the problem im having.</p>
  
  <p><strong>In 1.8rc3</strong></p>
  
  <pre><code>   $("#myinput").autocomplete(.....
  
     &lt;input id="myinput"/&gt; 
     &lt;ul id="autocomplete"&gt;&lt;/ul&gt;
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;/body&gt;
  </code></pre>
  
  <p><strong>In 1.8.6</strong></p>
  
  <pre><code>   $("#myinput").autocomplete(.....
  
     &lt;input id="myinput"/&gt; 
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;div&gt;Loads of other content&lt;/div&gt;
     &lt;ul id="autocomplete"&gt;&lt;/ul&gt;   
     &lt;/body&gt;
  </code></pre>
  
  <p><strong>So my question is, is there a way to make the autocomplete append after my given selector rather than appending to the body?</strong></p>