onKeyUp = "script command(s)"
onKeyDown = "script command(s)"
onKeyDown is triggered when the user presses down on a key while
the cursor is in the input field.
onKeyUp is triggered when the
the key goes up again. For example, the following code puts
"down!" in the status bar when the key goes down, and
"up!" when the key goes up:
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
onKeyUp represent the component
actions of pressing a key. They cannot be cancelled. In most situations where you
might consider using
will probably find that
onKeyPress is more useful.
onKeyPress represents the entire keystroke and can cancel the