forked from pietu/Bootstrap-Better-Typeahead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
26 lines (22 loc) · 926 Bytes
/
example.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
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Better Typeahead Example</title>
<!-- optional -->
<link rel="stylesheet" href="/css/bootstrap-better-typeahead.css">
</head>
<body>
<input type="text" id="selector">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js">
<script type="text/javascript" src="//raw.github.com/twitter/bootstrap/master/js/bootstrap-typeahead.js">
<script type="text/javascript" src="/js/bootstrap-better-typeahead.js">
<script type="text/javascript">
$(function() {
$("#selector").typeahead({
minLength: 0,
source: ["Neque", "porro", "quisquam", "est", "qui", "dolorem", "ipsum", "quia", "dolor", "sit", "amet", "consectetur"]
});
});
</script>
</body>
</html>