Posted By

hubbske on 02/09/12


Tagged

forms jquery logins


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrockSamsom


Action a link/submit when input is hit with enter button


 / Published in: jQuery
 

Action a link/submit when input is hit with enter button

  1. $("#ctl00_ctl05_ctl00_PasswordText").keyup(function(event){
  2. if(event.keyCode == 13){
  3. $("#ctl00_ctl05_ctl00_LoginLinkButton").click();
  4. }
  5. });
  6. }

Report this snippet  

You need to login to post a comment.