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 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" Watch "onKeyPress" New topic


Giomar Guevara
Ranch Hand

Joined: Oct 18, 2006
Posts: 51
hi I have this code:

<body onlload="MTMStartMenu(true);" onKeypPress="alert('gggg');" bgcolor="#000033" text="#ffffcc" link="yellow" vlink="lime" alink="red">

and the onKeyPress does nothing,

what is the problem?

ps I wrote incorrectly the 2 methods to post this message
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385

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