It's "autosuggest"/"autocomplete". In your case, you want to suggest words that are relevant for your domain, probably from a database or text on server. That's ajax. So, google some "autosuggest jquery ajax" and you'll probably get what you'll need.