forgot to set onkeydown attribute for search input