This is not normal behavior. I assume you do not have a keyup event? What type of element is "searchcontainer"?
I have tested it with this, and it works fine.
- <div id="searchcontainer">
- <form action="#">
- <input type="text" />
- </form>
- <div id="searchresults">
- <p class="searchresult">test1</p>
- <p class="searchresult">test2</p>
- </div>
- </div>