View Single Post
  #1 (permalink)  
Old May 25th, 2009, 03:16 PM
dastard dastard is offline
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default zxml library XMLHttpRequest() problem

I have been using the excellent zxml library for the last year so on a site hosted on Ubunu 6.04. I have now migrated to Ubuntu 8.04 and the Ajax now fails. I have narrowed the problem to the line:-

Code:
        return new XMLHttpRequest();
in zxml.js. Using IE8 I get the error "Object doesn't suppot this property or method" (IE7 gave similar error). Strangely, if after loading the page I 'refresh' the browser the code then works.

Can anyone explain what is going on here?

Thanks.