Dear all
I have this xml file datechanged.xml:
- <changedate>
<date>04/02/2006</date>
</changedate>
In a Javascript file I have folowing code:
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM") ;
xmlDoc.async="false" ;
xmlDoc.load("datechanged.xml") ;
xmlObj=xmlDoc.documentElement ;
sDate = xmlObj.childNodes(0).firstChild.text;
var chDate=new Date(sDate) ;
I alwas get this error:
xmlObj is null or is not an object