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:-
return new XMLHttpRequest();
. 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?