PHP Classes

XMLDocument is undefined

Recommend this page to a friend!

      pAjax  >  All threads  >  XMLDocument is undefined  >  (Un) Subscribe thread alerts  
Subject:XMLDocument is undefined
Summary:getting error, but everything's working.
Messages:3
Author:terra
Date:2007-10-26 22:57:28
Update:2007-10-26 23:24:33
 

  1. XMLDocument is undefined   Reply   Report abuse  
Picture of terra terra - 2007-10-26 22:57:28
I'm trying to use pAjax (really good), but i get these strange errors when entering a page using it, even the test appz.
Internet explorer says "XMLDocument is undefined."
But they still work... What's wrong?
It's a fresh, new, untouched version i just downloaded, DOMIT in place and everything.

  2. Re: XMLDocument is undefined   Reply   Report abuse  
Picture of terra terra - 2007-10-26 23:00:53 - In reply to message 1 from terra
I've tracked the error to line 87 in pajax-commom.js

var _xmlDocumentPrototype = XMLDocument.prototype;

  3. Re: XMLDocument is undefined   Reply   Report abuse  
Picture of terra terra - 2007-10-26 23:24:33 - In reply to message 2 from terra
and when replacing XMLDocument.prototype with XmlDocument.prototype
i now have an error at line 149 instead.

_p.__defineSetter__("onreadystatechange", function (f) {

"Object doesn't support this property or method"

(Using Internet Explorer 7.0)