This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
/
Autocomplete.html
39 lines (39 loc) · 1.72 KB
/
Autocomplete.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="">
<title>Rx for JavaScript Rocks!</title>
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/bootstrap/2.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/bootstrap/2.3.1/css/bootstrap-responsive.min.css">
</head>
<body>
<div class="container">
<div class="page-header">
<h1>RxJS for jQuery Bindings AutoComplete example</h1>
<p class="lead">Example to show combining input events such as keyup with Ajax requests</p>
</div>
<div class="row-fluid">
<form role="form">
<div class="form-group">
<label for="textInput">Enter Query for Wikipedia</label>
<input type="text" id="textInput" class="form-control" placeholder="Enter Query...">
</div>
</form>
</div>
<div class="row-fluid">
<ul id="results"></ul>
</div>
</div>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.2.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/bootstrap/2.3.1/bootstrap.min.js"></script>
<script src="http://cdn.jsdelivr.net/rxjs/2.1.11/rx.js"></script>
<script src="http://cdn.jsdelivr.net/rxjs/2.1.11/rx.binding.js"></script>
<script src="http://cdn.jsdelivr.net/rxjs/2.1.11/rx.time.js"></script>
<script src="../../rx.jquery.js"></script>
<script src="Autocomplete.js"></script>
</body>
</html>