Re: [mochikit] connect to keyboard events not working in FireFox?

2010-02-05 Thread Per Cederberg
A bit of Googling found a suggestion for test: Firefox seems to need to have the tabindex="0" property set to some value so it knows this Div or Span is keyboard selectable. That allows the keyboard event to be triggered. Perhaps that does the trick? Cheers, /Per - without the testing

[mochikit] connect to keyboard events not working in FireFox?

2010-02-05 Thread SimonS
Hi, The following works for me in IE, Chrome and Safari, but fails in FireFox 3.6 (running on Vistax64). The 'key down' event just doesn't seem to get received: = addLoadEvent(function() { connect(document.body, 'onkeydown', function(evt