This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Need to over ride default esc behaviour on textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need to over ride default esc behaviour on textarea" Watch "Need to over ride default esc behaviour on textarea" New topic
Author

Need to over ride default esc behaviour on textarea

Raghubir Bose
Ranch Hand

Joined: Feb 18, 2006
Posts: 88
I have a textArea and the default behaviour of IE is when u type something and hit esc button the text will disappear.Now I want to put a confirm box when I press esc button and if I select ok ..then only the text in the text area will disappear..

I have been trying for some time to solve this.I can trap the eventcode and that for the esc button is 27 but the text is disappearing and I cannot hold it ...

any clues ???


I will meet the fairy queen soon !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to over ride default esc behaviour on textarea