"briandichiara" <[EMAIL PROTECTED]> writes:

> 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.

There's no error on FF 2.0 and no character goes to the text field, so I
suppose your preventDefault is working.

> 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".

What's the difference from where the data came from?  If it came through
AJAX or it existed on the page, the only difference is when it will be
available.  You can use the same methods, events, etc.  You just have to
make sure you bind / connect things after they're available (either the
event that is bound the when your AJAX data is available connects things
or you do that at the bottom of the page, with an onload event, etc.). 

I don't miss "real world usage examples" for MochiKit...  Specially with
all the demos it has. 


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to