A Complex Thing: Keyboard Event?

Have you checked the keyCode for keyDown, keyPress, and keyUp events of browsers? The values of them are different. Some of them are ASCII code and some of them are printable key code, what?! We can find the detailed rules here. we can check this to know more about JavaScript keyboard event

It would be nice to have a page to test it. John Hu had created one for this purpose. Since the modern browsers will repeat the keyDown and keyPress, this page prints keyDown and keyPress while you hold the keys.

page: http://jsfiddle.net/huchengtw/Wk7jR/show/

source: http://jsfiddle.net/huchengtw/Wk7jR/

Centered Square Box in CSS

Published on September 07, 2019

How to Add a Web as Application at Windows?

Published on August 11, 2019