Hola, morfeo_II.
Código PHP:
<html>
<head>
<script>
function letras(e) {
tecla=(document.all) ? e.keyCode : e.which;
if(tecla<97 || tecla>99)
return false;
}
</script>
</head>
<body>
<input type="text" onkeypress="return letras(event)" />
</body>
</html>
Saludos,