JavaScript Auto-complete Control

Revision as of 19:47, 16 June 2008 by Ike (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This script provides a method for basic auto-complete functionality. You give it a textbox and an array, and when the user types in the textbox it will pop up a list of suggested items.

Link or uploaded here:

Multiple Auto-completes on one Page

Attach actb to the fields like this:

new actb(, GetAccountNames());
new actb(crmForm.all.address1_line1, customarray);

Without new all fields will have the same source array for the dropdown's contents.

Source Code

<splist />