aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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