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: Media:Actb.zip

Multiple Auto-completes on one Page

Attach actb to the fields like this:

new actb(crmForm.all.name, 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 />