DannyTmoov2
IS-IT--Management
Can someone tell me what's wrong in firefox's eyes with the below? When you hit the hyperlink nothing happens: -
<script language="JavaScript" type="text/JavaScript">
// enter button for login script
function submitenter(myfield,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13)
{
login.submit();
return false;
}
else
return true;
}
</script>
...
<A href="javascript:login.submit();">go</a>
<script language="JavaScript" type="text/JavaScript">
// enter button for login script
function submitenter(myfield,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13)
{
login.submit();
return false;
}
else
return true;
}
</script>
...
<A href="javascript:login.submit();">go</a>