[Prototype-core] Ajax.Request can't work async in IE and Maxthon?

2007-08-05 Thread Paladin
Dear users, Have any one tried Ajax.Request on IE? even i set the async as true the browser freezes until the request is completed. One interesting test u can try is say we have 5 divs. id 1,2,3,4,5 for(var i=0; i5; i++){ new Ajax.request(url, options(asynchronous:true,

[Prototype-core] Re: Help! Very werid behavior of Ajax.Request, I am desperate...

2007-07-19 Thread Paladin
And I found this weird behavior in ie and firefox. In ie it seem to work but in firefox no. On Jul 19, 4:08 pm, Paladin [EMAIL PROTECTED] wrote: Very simple task to do but never get it work. say I have a class called track function Track(){ this.id = 'a'; this.content = 'b

[Prototype-core] Re: Help! Very werid behavior of Ajax.Request, I am desperate...

2007-07-19 Thread Paladin
... perhaps it's just returning faster... or maybe I'm just misunderstanding your question. Hope this helps, - Skip On 7/19/07, Paladin [EMAIL PROTECTED] wrote: And I found this weird behavior in ie and firefox. In ie it seem to work but in firefox no. On Jul 19, 4:08 pm, Paladin

[Prototype-core] Event.observe will destroy the scope of Javascript OOP?

2007-07-12 Thread Paladin
I discovered a funny pheno, which I don't know anyone else has stated this before. Say I define a class: function Cat(){ this.color = yellow; } Cat.prototype.showColor = function(){ alert(this.color) } Cat.prototype.init(){ Event.observe(button, click, this.showColor); }