A PHP Error was encountered

Severity: Notice

Message: Undefined variable: tagdata

Filename: threaded_comments/mod.threaded_comments.php

Line Number: 1222

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/intoeeti/public_html/system/codeigniter/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 408

jQuery ajax not working in IE :: ExpressionEngine addons, custom EE add-on development

Skip to content

jQuery ajax not working in IE

19 Aug 2009

jQuery ajax not working in IE

Once upon a time smile I faced a strange problem:
I was trying lo load the remote page via jQuery load() function. In Firefox, everything worked perfectly, but Internet Explorer returned just nothing.
The request was sent, but the function (as well as other jQuery ajax functions - I tried) returned just parsererror.
After spending several hours googling trying different thing, I found that solution was very simple, watch this:
I had in my .htaccess
AddDefaultCharset utf8
This is WRONG, should be
AddDefaultCharset utf-8
IE could not recognize the charset ‘utf8’ and therefore returned parsererror (though there was no need to parse anything smile)

About

    Hello, my name is Yuri and I specialize in creating custom add-ons (plugins, modules, extensions) for ExpressionEngine CMS.
    You can reach me anytime by emailing .(JavaScript must be enabled to view this email address)