Posted By

hubbske on 02/09/12


Tagged

forms jquery


Versions (?)

Last Edited at 02/09/12 09:20am

Viewed 1 times

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.