On Jul 24, 2007, at 9:48 PM, Richard Frovarp wrote:

Thomas Comiotto wrote:
That one works now. Previously I was getting it has no properties or something like that and on an alert it came back undefined. If I do document.getElementsByTagName('body')[0].onkeydown = functionname, I can see it is registered using Firebug. However, having an alert/breakpoint for even entering the function doesn't trip.


Windows fire key events, elements don't.

--
Thomas

Anyway to get around this?


No (and it even makes sense if you think about it:) - I didn't follow this one from the beginning, what are you trying to achieve?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------------ ----- Thomas Comiotto [EMAIL PROTECTED]

                        Universitaet Zuerich
Informatikdienste Tel: +41 44 63 54541 Winterthurerstrasse 190 +41 44 63 43333 CH-8057 Zuerich Fax: +41 44 63 54505





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to