1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<title>ComboBox - Live Search</title>
6
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
10
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
13
<script type="text/javascript" src="../../ext-all.js"></script>
15
<script type="text/javascript" src="forum-search.js"></script>
16
<link rel="stylesheet" type="text/css" href="combos.css" />
18
<!-- Common Styles for the examples -->
19
<link rel="stylesheet" type="text/css" href="../shared/examples.css" />
20
<style type="text/css">
25
<script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
27
<b>Combo with Templates and Ajax</b><br />
28
This is a more advanced example that shows how you can combine paging, Ext.Template and a remote data store
29
to create a "live search" feature.
31
<p>The js is not minified so it is readable. See <a href="forum-search.js">forum-search.js</a>.</p>
33
<!-- The box wrap markup embedded instead of using Element.boxWrap() -->
34
<div style="width:600px;">
35
<div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
36
<div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc">
37
<h3 style="margin-bottom:5px;">Search the Ext Forums</h3>
38
<input type="text" size="40" name="search" id="search" />
39
<div style="padding-top:4px;">
40
Live search requires a minimum of 4 characters.
43
<div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>