• Nice work. Maybe you can add type-ahead functionality

    By Mark Teichmann 2 decades ago

    In the field to type the search characters it would be nice to add the type-ahead functionality. This code in the onKeyUp event can do this and you can navigate in the view with the up and down keys:

    var PressedKey = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;

    switch (PressedKey) {

    case 40:

    //show next entry<br/>
    break;  <br/>

    case 38:

    // goto previous entry<br/>


    if (this.value.length > 1) {

    //show entry which starts with the letters typed in<br/>