Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Forms > <INPUT ...>

Attributes for <INPUT ...>
onKeyUp ="script command(s)"
onKeyDown ="script command(s)"

See also
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:

this code produces this
<INPUT 
 NAME="realname" 
 onKeyDown="window.status='down!'"
 onKeyUp="window.status='up!'">

onKeyDown and onKeyUp represent the component actions of pressing a key. They cannot be cancelled. In most situations where you might consider using onKeyDown or onKeyUp you will probably find that onKeyPress is more useful. onKeyPress represents the entire keystroke and can cancel the keystroke.

<INPUT AUTOCOMPLETE="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com