![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
List of words: apple, ape, age, orange, banana, bus, beard, pineapple, strawberry
When a partially matching word is found a list will popup, you can cycle through the entries in the list with the UP and DOWN keys. Once you start typing again or hit the RIGHT key the currently selected entry will be kept.
Tag based autocomplete mode (separate tags with ,)
<form> <input type="text" id="autocomplete_box" style="width: 400px" /> </form>
/* note that the css classes begin with node id
of the input box (autocomplete_box in this case) */
div.autocomplete_box_auco_list {
border: 1px black solid;
padding: 5px;
font: 11px Verdana, Arial;
background-color:#fff;
}
div.autocomplete_box_normal { }
div.autocomplete_box_selected {
background-color: lightblue;
color: darkblue;
}
Words = ['apple', 'age', 'ape','orange', 'bus', 'beard', 'banana','pineapple','strawberry'];
vsk_auco_init('autocomplete_box',Words);
| file-name | description |
|---|---|
| vegui.sk.std.js | VSK Core Library |
| vegui.sk.formtools.js | VSK Form Tools |
| download | version |
|---|---|
|
tar.gz (4,6 KB), zip (7,6 KB) |
0.1.0 (beta) |
2007.03.10 - vegu@vegui.org
* version 0.1.0