[Dojo-interest] dojo.event.connect only works with "window" element
Brandl, Markus
markus.brandl at wirecard.com
Fri Feb 2 03:37:01 MST 2007
hi together,
if i'm going to connect an event like:
<html>
<body id="body">
...
</body>
</html>
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!
cheers
markus
More information about the Dojo-interest
mailing list