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


/ Published in: jQuery
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.