JavaScript Auto-complete Control

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 />