<script language="javascript">
document.onkeypress = function()
{
event.returnValue = true;
alert(String.fromCharCode(event.keyCode))
}
</script>
document.onkeypress = function()
{
event.returnValue = true;
alert(String.fromCharCode(event.keyCode))
}
</script>
A的Unicode字符值序列为65
alert(String.fromCharCode(65));
就返回A