Category: Ajax

  • Firefox 1.5, XmlHttpRequest, req.responseXML and document.domain

    Recently I have been working on a web application, extending it with an iframe on another subdomain. When you set up communication with an iframe on another subdomain, it works by setting document.domain in both pages. Pretty nice and straight forward. But it can mess up the rest of your page. As soon as you…

  • Misuse of the Array Object in JavaScript

    There is a very good post about Associative Arrays considered harmful by Andrew Dupont. The title is a bit misleading but correct. When coming accross a piece of JavaScript like this foo[“test”] = 1; there is nothing wrong about it. It’s the basic usage scheme of assoziative arrays. Or should i rather say objects? While…