Hola JavierB:
No me imagino tu intención, pero sabiendo el código puedes usar String.fromCharCode(tecla)...
Código:
<html>
<head>
<script type="text/javascript">
function pulsar(e) {
tecla = (document.all) ? e.keyCode : e.which;
if (tecla==65)
return String.fromCharCode(++tecla); //esto solo funciona en IE
else return String.fromCharCode(tecla);
}
</script>
</head>
<body>
<input type="text" onkeypress="this.value += pulsar(event); return false" />
</body>
</html>
Aunque si quieres usar algún control de edición se fastidia el invento, pero siempre podrás usar mi magnífico editos... (no es spam...)
Saludetes