| Article: |
A Simpler Ajax Path | |
| Subject: | Using overrideMimeType with text files causes errors | |
| Date: | 2005-10-09 02:57:41 | |
| From: | parsingphase | |
|
Using http_request.overrideMimeType('text/xml'); when you're not actually fetching XML is incorrect, and will cause confusing Javascript Console errors in the latest versions of Firefox. The XMLHttpRequest object will try and parse the fetched file as XML, and complain when it can't.
|
||
Women in Technology
Hear us Roar
