I have dates and description. If the date is entered, then the description should autocomplete. Like if 12/25/yyyy is selected, then Christmas should automatically be shown?
Why in the world are you doing this $(this).val().substring(0, 5) over and over again? You only need to do it once. Doing it over and over again will make you app slow.