How to handle enter key in Javascript overlay?
<p>I have a JavaScript overlay that consists of several input text search criteria. When the user presses the <kbd>enter</kbd> key in any of those inputs, I want to mimic the behaviour of the search button.</p>

<p>I know how to handle the enter key if there is only one input. I define the input as: </p>

<pre><code>&lt;input type=\"text\" class=\"txtOrgNmFilter inputBox\" onkeyup=\"ClientsListControl.onFilterKeyup(event);\" /&gt;
</code></pre>

<p>and in the onFilterKey up </p>

<pre><code>onFilterKeyup: function(event) {
    if (event.keyCode == 13) {
        $(".txtOrgNmFilter").click();
    }
}
</code></pre>

<p>My question is as follows: if I have several input texts, do I need to add the <code>onKeyUp</code> attribute in all of them or is there a simpler way (similar to a form submit action)?</p>

<p>My overlay is a table</p>
