Next page | Contents page |

Exercise 13 - Event handling

Write a program so that whenever a key is pressed the value is shown in a textarea element. This should happen whenever your browser window has the system focus.

Some keys do not represent printable characters. What will you do for them?

A list of the values of all keys is available on a Mozilla JavaScript Reference page.

Next page | Contents page |