event bubbling should send all key strokes up to document.body unless you are catching them and calling stopPropagation on them...
On Sun, Feb 21, 2010 at 2:03 PM, Oskar Krawczyk <[email protected]>wrote: > Tried $(document.body).focus(); ? > > If that doesn't work, post the code to jsfiddle.net and paste back a link > to the Mailing List. > > > On 21 Feb 2010, at 21:54, waveydab wrote: > > > Hi, > > > > I'm trying to get what I'll call global hotkeys working for some > > debugging I'm doing. I've tried defining event listeners for the > > "document" but that still seems to require clicking(giving focus?) to > > the document before they'll operate. Any ideas? > > > > david > >
