HighDots Forums  

Re: onkeydown

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: onkeydown in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
koethler
 
Posts: n/a

Default Re: onkeydown - 12-03-2004 , 12:39 AM






The method I used to get your script to work is this. First I put the
'onKeyDown' handler in the <body> tag. Second inside the keyHit() function
I made the first line--

var evt = window.event;

--the code works in this format in IE, though I don't know about any cross
browser application.

Do you know anything about how to disable the Backspace Key from
performing the history.back method? I can disable it for text but not for
browsing.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.