小小的改动了下。onKeyPress只支持有键盘输入的元素无标题文档Displaying Typed Characters
This document includes a simple script that displays the keys you type in the paragraph below. Type a few keys and try it.
在这里输入
小改动看看效果无标题文档Displaying Typed Characters
This document includes a simple script that displays the keys you type in the paragraph below. Type a few keys and try it.