• Post Reply Bookmark Topic Watch Topic
  • New Topic

Disable action on Event handler

 
Maks Besida
Greenhorn
Posts: 13
Chrome Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a KeyUpHandler and want to disable default actions on some keys. For example, I want to disable new line to be inserted into TextArea or if the user press Tab key I want to disable focus to be changed to another element. How can i achieve this
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!