Execute function when enter is pressed if textbox has focus
<p>Is it possible to execute a function by pressing the enter key on the keyboard only if a certain textbox has focus.  i.e. if any other textbox has focus or no textbox has focus, the enter key should do nothing.</p>
