[mochikit] Re: Simple callback/signal example please

2007-02-20 Thread troels knak-nielsen
That's because the button doesn't exist in the document tree until you add it in there with swapDOM. If you move the swapDOM line up before connect, it should work with either way. On 2/20/07, Dave Whiteley [EMAIL PROTECTED] wrote: I have written a trivial app which works on Firefox but not on

[mochikit] World Funniest Video

2007-02-20 Thread doy
you can find it here the World Funniest Video at http://www.supperlaffn.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to

[mochikit] Re: MochiKit website up to date?

2007-02-20 Thread Johnny Blonde
hello there. is now now a final release 1.4 comming closer? i actually have an app in the pipeline to be programmed, but i dont want to base it on 1.4 things, unless it´s final... regards, frank On 19 Feb., 20:58, Bob Ippolito [EMAIL PROTECTED] wrote: On 2/19/07, Michael Hayes [EMAIL

[mochikit] Re: very basic problem

2007-02-20 Thread carlo
I tried: script addLoadEvent(function() { test(test); }); /script but I got the same error: Object Expected and the problem seems to be the word test which is exactly the name of my function. As I said in FF 2 everything is ok with both syntaxes. I know that this looks not a Mochikit issue

[mochikit] Re: very basic problem

2007-02-20 Thread carlo
ok the syntax error in IE was a missing in the Head section. No results in IE still, I write about it in another post. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send

[mochikit] Transforming a 2-element Array (from formContents) into an object

2007-02-20 Thread paftek
Hello there, I need advice from experts ! What is the best way to convert the output of DOM.formContents() ( an array like : [ ['name1', 'name2', 'nameN'], ['value1', 'value2', 'valueN'] ] ) into an object like : { 'name1': 'value1', 'name2': 'value2', 'name3': 'value3'} ? The problem is easy

[mochikit] Re: Transforming a 2-element Array (from formContents) into an object

2007-02-20 Thread Aaron Faanes
Er, I'm sorry, it will almost give you what you want. It wont wrap it up in an object, though. It'll just be [ [array[0][0], array[1][0]], [array[0][1], array[1][1] ] ... ] Which doesn't really get you anywhere, so I'm thinking you'd just do it inline. Sorry about that. - Aaron On Feb 20,