Deselect Input Box on Return/Enter
<p>I'm currently using a client-side input box* that filters search results based on text input automatically; with no dependency on server side functions, in this case the return/enter key, (which would just refresh the page) so I have disabled it using:</p>

<pre><code>&lt;script&gt;
var submitHandler = function() {
// do stuff
return false;
}
&lt;/script&gt;
</code></pre>

<p>This served it's initial purpose, however, upon hitting the return/enter key, (using the code above) the text field should be deselected as well, is there a way I can achieve this?</p>

<p>*source: <a href="http://www.redotheweb.com/2013/05/15/client-side-full-text-search-in-css.html" rel="nofollow">http://www.redotheweb.com/2013/05/15/client-side-full-text-search-in-css.html</a></p>

<p>View: <a href="https://jsfiddle.net/oooxp5Lb/" rel="nofollow">JSFiddle</a></p>

<p>Edit: Added Fiddle ^</p>