October 4, 2001 - Return-Key-Sensitive Event Handlers
October 4, 2001|
Return-Key-Sensitive Event Handlers
Tips: October 2001
Yehuda Shiran, Ph.D.
RETURNkey. You accomplish this by using the all-key
Have you read our columns about Print Templates?Now, repeat with the following text field. Notice that the zoom factor is being updated only when you hit the
Have you read our columns about Print Templates?Here is the code for the
makes sure that only
if (event.keyCode != 13) return;
RETURN-key-releasing events are being handled. The key code of the
This tip works on IE 6.0 and above.