File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onKeyPress Event In Javascript" Watch "onKeyPress Event In Javascript" New topic

onKeyPress Event In Javascript


Joined: Dec 27, 2004
Posts: 16

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.


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
These little scripts may give you some idea:

I agree. Here's the link:
subject: onKeyPress Event In Javascript
It's not a secret anymore!