Я в растерянности. Я нашел несколько вещей, в которых упоминалось, что в IE нужно было указать тип ответа, и я изменил это на text / html, и это ничего не сделало для меня.
Ошибка:
Не удалось завершить операцию из-за ошибки c00ce56e. prototype.js, строка 1564
Указывает на prototype.js:
if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) {
this.status = this.getStatus();
this.statusText = this.getStatusText();
this.responseText = String.interpret(transport.responseText); <!--- ERROR is here --->
this.headerJSON = this._getHeaderJSON();
}
Функция, вызываемая из onClick () в href:
function f(op, cl) {
if(op && cl) {
new Ajax.Updater('favorites-' + cl, '/fav.php',
{
onComplete: function(transport) {
if(transport.responseText == 1 && cl) $('favorites-' + cl).remove();
else return transport.responseText;
},
onException: function(r, e) {
alert('Updater ' + e);
},
method: 'get',
parameters: { cl: cl, op: op },
encoding: 'UTF-8',
contentType: 'text/html'
});
}
}