Simple Autocomplete JS library For Input Field – autoCompltr.js

Category: Form , Javascript | September 9, 2016
Author: Jerembo
Views Total: 3,281
Official Page: Go to website
Last Update: September 9, 2016
License: MIT


Simple Autocomplete JS library For Input Field – autoCompltr.js


autoCompltr.js is an easy-to-use Javascript library which transforms a DIV element into an input field with autocomplete function. Enter a character into the input field and you’ll see the list populate with suggestions.

How to use it:

Include the required CSS and JavaScript into the document.

<link rel="stylesheet" href="css/autoCompltr.css">
<script src="js/autoCompltr.js"></script>

Create an empty DIV element on the document.

<div id="auto-complete"></div>

Create a list of data for the autocomplete.

var list = [

Enable the autocomplete function on the input filed.

var autoCompltrDOM = document.getElementById('auto-complete');

var autoCompltr = new AutoCompltr(autoCompltrDOM);



  • Update

You Might Be Interested In:

Leave a Reply