monkinetic the blog

File:// urls with XMLHTTPRequest in IE7 are broken

I’ve been working again on a tool at work that uses JQuery to dynamically load various files into the content area of a locally based web page to test css-based templates. The tool was working fine in Firefox and IE6, then I recently “upgraded” to IE7 and it went all wonky on me. After a day or so of Googling, I found this post from Xavier Hanin: IE7 support for XmlHttpRequest which details the fact that IE7’s XMLHTTPRequest cannot load files from disk (file:// urls).