this work great and stops all enter key presses. now how do i disable the event and fire a tab key event.
so if a user presses the enter key i need it to be ignore and tab to the next field.
<head>
<script type="text/javascript">
function kH(e) {
<!--
var pK = document.all? window.event.ke yCode:e.which;
return pK != 13;
}
document.onkeyp ress = kH;
if (document.layer s) document.captur eEvents(Event.K EYPRESS);
file://-->
</script>
</HEAD>
so if a user presses the enter key i need it to be ignore and tab to the next field.
<head>
<script type="text/javascript">
function kH(e) {
<!--
var pK = document.all? window.event.ke yCode:e.which;
return pK != 13;
}
document.onkeyp ress = kH;
if (document.layer s) document.captur eEvents(Event.K EYPRESS);
file://-->
</script>
</HEAD>
Comment