<input type="text" id="search" onkeypress="if (window.event.keyCode==13) doSearch(this.value);" placeholder="What are you looking for?">
My level is really much lower than that of a monkey :( jsfiddle.net/zoldkabatos/mQpGn
@Zoldkabatos What's wrong with that fiddle? See this jsfiddle.net/mQpGn/1, You have an exception with your code somewhere.
If I press Enter in your code, it doesn't highlight the entered word. If it does for you, it's something with my browser.