[mochikit] Re: Using Mochikit with my Classes - Looking for Beginner Documentation

2006-05-26 Thread Bob Ippolito
On May 26, 2006, at 2:03 AM, Johan Sundström wrote: I then tried: doSimpleXMLHttpRequest(pathtoxml).addCallback( MyA.cleanXML ); MyA.cleanXML won't carry MyA along as the this object. Try bind( MyA.cleanXML, MyA ) instead of plain MyA.cleanXML. (Untested; I hope I got the parameter order

[mochikit] Re: Fwd: [mochikit] storing info associated with a deferred

2006-05-26 Thread Arnar Birgisson
On 5/26/06, Julio Oña [EMAIL PROTECTED] wrote: sorry, fast replay. I do that too :o( -- Most other mailing-lists I'm on have reply-to header munging so pressing reply replies to the list - I know it's a controversial topic, but how do the list-owners feel about changing the setting? Just

[mochikit] Re: Fwd: [mochikit] storing info associated with a deferred

2006-05-26 Thread jvanasco
Thanks all. Can I suggest adding something like this do the docs around deferred or loadJSONdoc ? var d= loadJSONDoc(url); d.addCallback( this.function_success [, a , b , z ]); d.addErrback( this. function_error [, a , b , z ]); function function_success( [a , b , z ,]

[mochikit] Re: Fwd: [mochikit] storing info associated with a deferred

2006-05-26 Thread Bob Ippolito
On May 26, 2006, at 6:31 PM, jvanasco wrote: Thanks all. Can I suggest adding something like this do the docs around deferred or loadJSONdoc ? var d= loadJSONDoc(url); d.addCallback( this.function_success [, a , b , z ]); d.addErrback( this. function_error [, a , b , z ]);

[mochikit] MochiKit.DOM class* functions not working in this situation.

2006-05-26 Thread Samuel Webster
Hi guys, I'm having some difficulty getting the following code snippit to work: map(function (element) { connect(element, 'onmouseover', function (event) { toggleElementClass('tabHover', element); }); connect(element, 'onmouseout', function (event) {

[mochikit] Re: Super-newbie question

2006-05-26 Thread Beau Hartshorne
On 26-May-06, at 4:56 PM, Jay Parlar wrote: I'm just starting to learn MochiKit (actually, I'm just starting to learn JavaScript as well), but I'm a long time Python guy, so I felt it would be a good fit. Anyway, I'm trying to do a very simple 'connect', and I'm seeing some strange