At present, it has not implemented interaction with the database, and the data is written to death. Code
<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd">
<Html>
<Head>
<Script src = "http://code.jquery.com/jquery-latest.js"> </script>
<Link rel = "stylesheet" href = "http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/main.css" type = "text/css"/>
<Link rel = "stylesheet" href = "http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.css" type = "text/css"/>
<Script type = "text/javascript" src = "http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.bgiframe.min.js"> </script>
<Script type = "text/javascript" src = "http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.dimensions.js"> </script>
<Script type = "text/javascript" src = "http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js"> </script>
<Script>
$ (Document). ready (function (){
Var data = "Car Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities". split ("");
$ ("# Example"). autocomplete (data );
});
</Script>
</Head>
<Body>
API Reference: <input id = "example"/> (try "C" or "E ")
</Body>
</Html>
: