I expended the Object.prototype to add some global attributes and
methods,then Ajax.request didn't work.
Trace the question , I find the reason:
for (var name in headers){
this.transport.setRequestHeader(name, headers[name]);
}
these codes (var name in headers) got all the att
Sorry.
The 'Header' is a JSON Object.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, sen
Thank you. I saw the thread. I asked a same question.
I want to add a function:hashCode to all Javascript Object.if
prototype can't fix the question ,i had modify the prototype.js by
myself.
On 11月13日, 上午1时07分, Wiktor Ihárosi <[EMAIL PROTECTED]> wrote:
> > I think Ajax.request must fix this bug.
everybody ,thanks .
I had carefully replaced 'for in loops' all of the prototype.and run
testcases sucess.
In my apps,i never write 'for in loops'.that's a rule of my program.C/
Java/C++/C#,i always use "for(int i=0;ihttp://groups.google.com/group/prototype-core?hl=en
-~--~~~