<!DOCTYPE HTML><HTMLLang= "en"> <Head> <MetaCharSet= "UTF-8"> <Metaname= "Generator"content= "editplus®"> <Metaname= "Author"content=""> <Metaname= "Keywords"content=""> <Metaname= "Description"content=""> <title>Document</title> </Head> <Body> <Scripttype= "Text/javascript"src= "Http://files.cnblogs.com/wzq806341010/jquery-1.7.2.min.js"></Script> <Scripttype= ' Text/javascript 'src= "Http://files.cnblogs.com/wzq806341010/jquery-ui-latest.js"></Script> <Linkhref= "Http://files.cnblogs.com/wzq806341010/jquery-ui.css"rel= "stylesheet"type= "Text/css" /> <Scripttype= "Text/javascript">$(function(){ $("input"). Live ("Focus Click", function () { var$event= $( This); $event. AutoComplete ({source: ['1','2'], MinLength:0, Delay:0, Splitstr:"^", create:function(event, UI) {$event. Live ("Focus Click", function () { varActive=$event. Data ("AutoComplete"). menu.active; if (!Active) {$event. AutoComplete ("Search", $event. Val ()); } }); } }); });}); </Script><inputtype= ' text 'value="" /> </Body></HTML>