This example demonstrates how you can detect if the user is pressing certain keys. For example the Control key or the Shift key. In addition you can detect how the user has committed a value to a field. These methods can be used to react to the users actions. Check out the examples in the form below.
Freely reuse our solutions
Solutions are under the Creative Commons Attribution-ShareAlike 3.0 License