IE8 Javascript behavior
<p>wonder if anyone can help.</p>

<p>Bascially I'm working on a site, and a chunk of functionlity works great in all browsers apart from ie8. It doesn't throw an error as such. Just doesn't behave correctly.</p>

<p>Bascially here; <a href="http://new.jda.co.uk/?page_id=12" rel="nofollow">http://new.jda.co.uk/?page_id=12</a></p>

<p>if you click on any of those companies - it should bring up a lightbox which has a xml/javascript populated carousel relevant to the company clicked. In ie8 it just throws up the one company every time.</p>

<p>Any thoughts? I'm not fantastic at browser/javascript debugging so I'm struggling to get to the bottom of this.</p>

<p>Thanks</p>

<p>I have looked a bit more into this; and it seems the js file is loading fine, the xml file is being written correctly - but when it comes to the parsexml function - it seems to be hanging onto the same set of data regradless of what you click;</p>

<pre><code>function parsexml(){
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.open("GET","write.xml",false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML;


}
</code></pre>

<p>As far as I can see this narrows it down to this section not reading in and updating the latest file - does the ie8 browser interpret this code differently somehow ?</p>

<p>Also I just checked the actual write.xml file on the server...this updates every time. If I browse to the file ie8 - it doesn't update. If I close the browser and fire up try again, it updates to the saved file !</p>
