[Dojo-interest] dojo.event.connect only works with "window" element
markus.brandl at wirecard.com
Fri Feb 2 03:37:01 MST 2007
if i'm going to connect an event like:
dojo.event.connect(dojo.byId('body'), "onkey", this, "onClick");
it doesn't work. but if i'm using the "window" element insted, it works fine and the onClick funciton is called. i tried with other elements than "body", but nothing works.
dojo.event.connect(window, "onkey", this, "onClick");
thx for your help!
More information about the Dojo-interest