This is an auto complete functionality similar to jQuery but using JavaScript.