title: Submit Form on Enter Key press for two different div tags
body: <p>I have a Form with login Controls with  two div tags</p>
  
  <p>First DIV with UserName, Password and Login button and also I have Forgot Password Link in the Form..When we click on it it shows another div with enter Email id textbox and submit button.</p>
  
  <p>I used Jquery for Enter Key press to submit the form it worked fine.. but in case of forgot password link click it shows another div.. with Submit button but the enter key not working for that div on key press</p>
  
  <p>Here is my jQuery code:</p>
  
  <pre><code>$('#form input').keydown(function (e) {
         if (e.keyCode == 13) {
             $('#form1').submit();
         }
     });
  </code></pre>
  
  <p>How submit form on enter key press for both div buttons(Login and Submit). Kindly help with required Jquery</p>