The initial state of the page: the text entry field and below it a complete list of cities.

I want to do so that when you enter a sequence of letters from the list below, cities that do not contain the entered sequence were hidden.

Give a tip where to dig

    1 answer 1

    The question is incorrect, but you can see an example for jquery right here, https://jqueryui.com/autocomplete/#maxheight

    However, this is not the best option, but because You did not bring the code, I think that such a tip might already help with something.