-
Notifications
You must be signed in to change notification settings - Fork 0
/
AutoCompleteTest.html
43 lines (25 loc) · 955 Bytes
/
AutoCompleteTest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<head>
<script src="jquery-ui-1.11.4/external/jquery-1.10.2/jquery.min-1.10.2.js"></script>
<script src="jquery-ui-1.11.4/jquery-ui.js"></script>
<script src="jquery-ui-1.11.4/plugins/jquery.ui.autocomplete-html.js"></script>
<script src="PoolPartyAutoCompleteSetter.js"></script>
<link rel="stylesheet" href="jquery-ui-1.11.4/jquery-ui-modified.css">
<link rel="stylesheet" href="brik.css"> <!--Will be supplied by BRIK-->
<script>
function select (event, ui) {
$(this).val('')
return false
//alert(JSON.stringify(ui.item.mydata))
}
$(document).ready(function(){
set_autocomplete($, select, $("#search_authors"))
});
</script>
</head>
<body style="background-color: lightsalmon">
<div>
<div id="authors"> Authors <input id="search_authors" class="submit-text" type="text"> </input> </div>
</div>
</body>
</html>