![]() |
|
|
+ Search |
![]()
|
Mar 15th, 2001 11:23
Rich Puskarich, Richard Hawkes,
This should solve the problem:
var NS = (window.Event) ? 1 : 0;
function checkKey(e) {
var code = (NS) ? e.which : event.keyCode;
if (code == "13"){
return false; }
}
document.onkeypress = checkKey;