• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem handling Esc key press

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am adding rows to a table using my javascript function.
I am handling Esc key keydown event on all the cells of the row, which has textbox. When i press Esc key twice from inside an added row textbox, all the contents from all the added row textboxes vanishes. This happen only when i press Esc twice, but not on single Esc. what is that event i have to handle for this? pls help me.
I have tried to handle the key on keyup and keypress events also. but i get the same result.

regards,
Surendar prabu
 
surendar prabu
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to kill the second key press using detachEvent function. But i could not achieve any result on that also. is there any other function to kill events?
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic