Hola fcamsan.
He hecho este código, pero solo he conseguido que funcione en IE. Si alguien sabe como hacer que funcione en otros navegadores, "pos estupendo"
Código HTML:
<html>
<head>
<script>
function ini() {
ele=document.getElementsByTagName('input');
for(i in ele)
ele[i].onkeypress=function() {pulsar(event)}
}
function pulsar(e) {
tecla=(document.all) ? e.keyCode : e.which;
alert(tecla);
if(tecla==13) return false;
}
</script>
</head>
<body onload="ini()">
<input type="text" />
<input type="text" />
<input type="text" />
</body>
</html>
Saludos,