OnKey

From Wikipedia, the free encyclopedia

OnKey is an event in the HTML website coding language. It's actual title is not just onKey though. It is used as an event for a keyboard button pressed, like the UP button. In such a case, an event will be triggered when it is pressed. So, for up key, it would show: "onkeyup".If you really need the explanation, you could not just say "onkeyup". (Errors will be returned if you do so.) So, the following JavaScript should be written: <script for= object event= onkeyup Saying that which ever object you had created, will trigger for that object.

[edit] Coding example

<html><body><head><body bgcolor="white"><javascript><object id="obj1"> <script for= "obj1" event= onkeyup></javascript></body></head></html>

[edit] See also