I am still trying to wrap my head around how things work in MochiKit, and after spending 20 minutes banging my head against the wall, humbly seek some assistance. I want to check all keys pressed, so I attach to that event like this:

 

connect(window.document, "onkeyup", HandleOnKeyUp);

 

Now, in HandleOnKeyUp() I want to check for a certain key combinations – I see in the docs that key() is supposed to give me what I want, but it is a method on an event object. Where do I get that? Having only had 8 hours of sleep in the last 2 days probably isn’t helping me, but this seems like it should be easy.

 

Thanks,
Jason Bunting

 

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.7/379 - Release Date: 6/29/2006


Reply via email to