/ Published in: jQuery
Action a link/submit when input is hit with enter button
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("#ctl00_ctl05_ctl00_PasswordText").keyup(function(event){ if(event.keyCode == 13){ $("#ctl00_ctl05_ctl00_LoginLinkButton").click(); } }); }