script.aculo.us Autocompleter tokens Option
Please refer to script.aculo.us to download libraries or pre-compiled files for implementation. Also, take care of proper file paths otherwise the code will not work.
new Autocompleter.Local(field, container, dataSource [ , options ] );
- field: Element name of the text field.
- container: Container element name which gives suggestions.
- datasource: Data source can be a single text or array of strings.
To see the effect, first, install the library and then open this program in the local environment.