mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 22:27:39 +00:00
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>DevBridge Autocomplete Demo</title>
|
|
<link href="content/styles.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Ajax Autocomplete Demo</h1>
|
|
|
|
<h2>Ajax Lookup</h2>
|
|
<p>Type country name in english:</p>
|
|
<div>
|
|
<input type="text" name="country" id="autocomplete-ajax"/>
|
|
</div>
|
|
<div id="selction-ajax"></div>
|
|
|
|
<h2>Local Lookup</h2>
|
|
<p>Type country name in english:</p>
|
|
<div>
|
|
<input type="text" name="country" id="autocomplete"/>
|
|
</div>
|
|
<div id="selection"></div>
|
|
|
|
<h2>Custom Lookup Container</h2>
|
|
<p>Type country name in english:</p>
|
|
<div>
|
|
<input type="text" name="country" id="autocomplete-custom-append" style="float: left;"/>
|
|
<div id="suggestions-container" style="position: relative; float: left; width: 400px; margin: 10px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="scripts/jquery-1.8.2.min.js"></script>
|
|
<script type="text/javascript" src="scripts/jquery.mockjax.js"></script>
|
|
<script type="text/javascript" src="src/jquery.autocomplete.js"></script>
|
|
<script type="text/javascript" src="scripts/demo.js"></script>
|
|
</body>
|
|
</html>
|