I am trying to autocomplete the year in a textbox when the first 5 characters (11/12) entered. Would like to append '/2021'. Make the '/2021' highlighted to give the user the option to manually enter the year or to accept the suggestion (11/12/2021). How can I do it in JavaScript? The jquery select() method has no option to select specific textbox value.