This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @function ajaxAutocomplete | |
* Creates an autocomplete dropdown | |
* from content fetched via AJAX calls. | |
* | |
* @param {Object} options | |
* Used to pass options to the function | |
* options.ajaxURL = URL for the AJAX call | |
* options.inputId = Input field to use for autcompletion | |
* options.minLength = Minimum char length to start making AJAX calls. |