allross92,
наберите se
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>autocomplete demo</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script>
$(document).ready(function () {
var clubs = [
'La Rocca',
'Royal Casino SPA',
'Season SPA',
'Sebastian Gallery',
'Royal Casino Hotel',
'Studio 69'
];
$("#quickquery").autocomplete({
'source':clubs,
"minLength":2,
"autoFocus":true,
"delay":10
//"disabled":true,
//"minLength":3
/*
change:function (event,ui) {
alert("change");
},
close:function (event,ui) {
alert("close");
},
create:function (event,ui) {
alert("create");
},
close:function (event,ui) {
alert("focus");
},
*/
/*
open:function (event,ui) {
alert("open");
},
response:function (event,ui) {
alert("response");
},
search:function (event,ui) {
alert("search");
},
*/
});
//$("#monts").autocomplete("disable");
//$("#monts").autocomplete("enable");
//alert($("#monts").autocomplete("option","delay"));
//$("#monts").autocomplete("search","Март");
});
</script>
</head>
<body>
<div class="search">
<form action="" method="get">
<div class="inpt"><input id="quickquery" type="text" name="poisk" placeholder="Search (Meklēšana)" /></div>
<input class="knopka" type="image" src="img/search-butt.png" name="bb" />
</form>
</div>
</body>
</html>