There is a code:
if (e.which == 40) { $(".list-ul").next(".list-li").focus(); element.val($(".list-li").val()); } Implies going through the list
<ul class = "list-ul"> <li class = "list-li"></li> .... <li class = "list-li"></li> </ul> but something is not working. How correct?
next()on the list and want to iterate the children, but it returns the neighboring node. Those. adjacent toul, not a child - teran