Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 onkeydown 和 onkeypressed 处理程序的 JS 文件。但是,在两个处理程序中添加 alert() 后,我只能看到 onkeypressed() 被调用。为什么?