aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes onKeyPress Event In Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onKeyPress Event In Javascript" Watch "onKeyPress Event In Javascript" New topic
Author

onKeyPress Event In Javascript

Kifar
Greenhorn

Joined: Dec 27, 2004
Posts: 16
hello!

i have 2 text area in my page. i type in first textarea, simultaneously the relevent information are updated in second textarea. i have use onkeypress event in javascript. but i delete the character in 1st textarea can't delete in 2nd textarea.

please tell me how to access DEL key in javascript onkey press event.

thanks

rafik
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
These little scripts may give you some idea:
http://www10.brinkster.com/A1ien51/Scripts/KeyCode.htm

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: onKeyPress Event In Javascript