There is input with ajax search.
<div> <input type="text"> <button>Поиск</button> <div class="tip">Тут результаты</div> </div> input.keyup is a search event.
input.focusout(function() { }); This event hides the tip. But when you click on the tip - the focus is removed and the link does not go - it closes. How to fix it?