Categories

Updated: 02/12/2007

Auto-complete type-ahead dropdown menu

This script adds auto-complete/type-ahead/ tracing/find-as-you-type effect to dropdown menus in Internet Explorer. In IE, when user press &"MA&" in a dropdown menu, IE will first select the first option starting with &"M&", then select the first option starting with &"A&", giving user &"AK&" while user actually wanted &"MA&" for Massachusetts. Using this script, user will get MA if M and A are consecutively typed (if user type M , then after a while A , user will still be taken to AK as an intended behavior). Comments in script is provided so that one can customize to determine how fast user has to type to get MA not M , A . Currently all printable characters on keyboard and keypad are supported (except for those needing the &"shift&" key). Both IE and Gecko-based browsers (firefox, mozilla, netscape, K-meleon etc.) are supported. Version 1.0 supports your using user-typed value to populate other menus.
©2019 A--9.com