Author: sking | Posted on: 10/9/2010 1:30:57 AM | Views : 386

I don't understand how this code is inserted into a page on my site. When I push debug, my home page comes up. As soon as I type a character into the login box, the program crashes and I'm left on a page called localhost [dynamic] and on the page is:
<script type="text/javascript"> function onKeyPress (evt) { var keycode; if (window.XMLHttpRequest) { keycode = evt.keyCode; } else { keycode = event.keyCode; } if(keycode==13){ document.getElementById('ctl00_PageContents_Ctrl_login1_btnLogin').focus(); document.getElementById('ctl00_PageContents_Ctrl_login1_btnLogin').click(); } } document.getElementById('ctl00_PageContents_Ctrl_login1_tbAdminID').onkeypress = onKeyPress; document.getElementById('ctl00_PageContents_Ctrl_login1_tbPassword').onkeypress = onKeyPress; </script>
 What the hec ...

Go to the complete details ...