Yes, I do get the pop-up box, however, it's also supposed to use e.preventDefault(); at the bottom of the function, so it should always return false. I changed it to onkeypress and that still doesn't return false. Using FF 1.5 + FIrebug, it shows the error occuring, but in IE, it doesn't.
Also, I would need it to return false onkeydown, because i will be needing to add a check to see if the shift key is down, and if I return false onkeypress, it would be too late, for the user would have already released the shift key. Using the key_events demo, I think MochiKit has amazing technology behind it, but it possibly lacks real world usage examples and multiple applicable cases. And I can't find any documentation where MochiKit can be used with Ajax and objects that load in after "onload". Thanks again, and I will maybe try when I don't have so much other stuff to work on. On Apr 16, 6:05 am, Jorge Godoy <[EMAIL PROTECTED]> wrote: > "briandichiara" <[EMAIL PROTECTED]> writes: > > I have setup a very simple test including both Scriptaculous and > > Mochikit, and I'm getting the same results as my application: > > >http://brain.solepixel.com/mochitest.html > > > Please help. This is frustrating. > > Was your intention to raise an alert box with the key pressed? That's > what I'm getting on the page above... > > -- > Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
