• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with esc key

 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

I have designed a form.After entering all the values in the form and if i click esc button the form is beingm reset.Can anyone help me out how to disable the esc key.
Thanx in advance,
Visu N.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is the default property of the escape key on a form. Some people know that and use it so you may be eliminating a feature for some users.

You can try to capture the key and return false.

This link should give you what you need.
http://www10.brinkster.com/A1ien51/Scripts/KeyCode.htm

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic