title: Assign "Enter" key press to submit form in DotNetNuke
body: <p>After extensive research on the internet I can't find a way to get my DNN module to virtually click the "Search" button and stay there, because after doing what I want somehow DNN hijacks my keypress and redirects to the Home page of the portal. </p>
  
  <p>Even in the production environment it redirects to the local development environment. I don't have full knowledge of how the portal is configured because I "inherited" it, but I neither know where to search...</p>
  
  <p>Any tips on this?</p>
  
  <p>BTW, my code is the following and works correctly before DNN redirects :</p>
  
  <pre><code>  $("input").keypress(function (event) {
         if (event.which == 13) {
              event.preventDefault();
              $("#&lt;%=lbtnBuscar.ClientID%&gt;").click();
         }
    });
  </code></pre>