2010-12-07 6 views
3

私のWebページでjquery auto-completesをしばらく使用していましたが、1.8rc3からjquery uiをバージョン1.8.6にアップデートした後、オートコンプリートulオブジェクトは、指定されたセレクタの直後ではなくボディに追加されるようになりました。Jquery UI JQ UIのバージョン1.8.6

以下のコードはもちろん有効ではありませんが、ただの問題を強調しています。

$("#myinput").autocomplete(..... 

    <input id="myinput"/> 
    <div>Loads of other content</div> 
    <div>Loads of other content</div> 
    <div>Loads of other content</div> 
    <ul id="autocomplete"></ul> 
    </body> 

だから私の質問がある1.8.6

で1.8rc3

$("#myinput").autocomplete(..... 

    <input id="myinput"/> 
    <ul id="autocomplete"></ul> 
    <div>Loads of other content</div> 
    <div>Loads of other content</div> 
    <div>Loads of other content</div> 
    </body> 

、オートコンプリートは私の指定されたセレクタの後に追加するのではなく作るための方法があります体に付け加える?

答えて