×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: Jul 3, 2017 9:32 AM
Views: 5
Tags: js
  1. if (document.getElementById("captcha_input")!=undefined){
  2.  
  3.         document.getElementById('captcha_input').onkeypress = function (e) {
  4.             if (e.which === 13) {
  5.                 document.getElementById('login').click();
  6.             }
  7.         }
  8.  
  9.     }