Home     PHP / Javascript / Ajax
PHP Auto-complete type-ahead dropdown menu Script

PHP Script Codes > forms

Auto-complete type-ahead dropdown menu Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 13771

PHP Script Codes > Auto-complete type-ahead dropdown menu
This script adds (correct) auto-complete/type-ahead/ tracing/find-as-you-type effect to dropdown menus in Internet Explorer and other browsers. 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 A after some (customizable) time, user will still be taken to AK as an intended behavior.). It also allows you to use user-typed value to populate other menus. Currently all printable characters on keyboard and keypad are supported (except for those needing the "shift" key). Version 1.1 is cross-browser and fixes issues in Firefox and Chrome too.