Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Internet Explorer / General Topics / June 2007

Tip: Looking for answers? Try searching our database.

IE7 problem: Cannot capture and handle onkeydown event for Alt-D

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wilsonleung6@gmail.com - 22 Jun 2007 19:36 GMT
In IE7, I cannot capture and handle the onkeydown event for Alt-D with
JavaScript, though it works fine in IE6.  By default, Alt-D is the
keyboard shortcut to transfer focus to the address bar.  In IE6, my
JavaScript code would properly handle the Alt-D onkeydown event,
before keyboard focus is transferred to the address bar.  In IE7,
however, it seems that IE would simply consume the Alt-D event and
transfer focus to the address bar right away, and my JavaScript does
not capture the event at all.

I also tried capturring other shortcuts in IE7 with JavaScript (Alt-F,
for example), and they all work fine.  It appears that Alt-D is the
only exception.  Any comments are most welcome.  Thanks!
PA Bear - 22 Jun 2007 20:26 GMT
Please see replies to your original & identical post made 2 days ago.
Signature

~Robear Dyer (PA Bear)
MS MVP-Windows (IE, OE, Security, Shell/User)
AumHa VSOP & Admin; DTS-L.org

> In IE7, I cannot capture and handle the onkeydown event for Alt-D with
> JavaScript, though it works fine in IE6.  By default, Alt-D is the
[quoted text clipped - 8 lines]
> for example), and they all work fine.  It appears that Alt-D is the
> only exception.  Any comments are most welcome.  Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.