Hello everyone,
I get the error c00ce514 while trying to send out a Ajax request to
get a image. It only happens in IE. It seems it's an encoding problem,
and it happens when prototype trying to evaluate responseText
property.
Anybody knows how to solve this problem?
Prototype version: 1.6.0.3
Here's my code:
new Ajax.Request(item.img.src, {
method: "get",
encoding: "UTF-8",
onComplete: function(response) {
finishCount++;
if (finishCount == this.data.length) {
this._switchCover(false);
this._start();
}
}.bind(this),
onFailure: function(response) {
// TODO: error handling
alert("Some item(s) are failed to
load.");
}.bind(this)
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---