|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link href="/test.css" rel="stylesheet" type="text/css" media="screen" />
<link href="/images/GvaScript.css" rel="stylesheet" type="text/css" media="screen"/>
<script src="../../../lib/prototype.js"></script>
<script src="../../../lib/GvaScript.js"></script>
<script>
var countries_ac =
minimumChars: 2,
autoSuggest: true,
typeAhead: false,
blankOK: true,
labelField: 'value',
multivalued: true
});
</script>
</head>
<body>
<h1>Multivalued Autocompleter</h1>
<p>
This autocompleter example is bound to a complete list of countries
by an array: <tt>[{value: ..., label: ..., code: ...}, ... ]</tt>
</p>
<h4>Ajax request</h4>
Select multi-countries:
<input type="text" class="AC_input" autocomplete="off" size="50" onfocus="countries_ac.autocomplete(this);"/>
<br/>
</body>
</html>
|