A
Asad
Hi,
I am trying to load an XML file. The problem is that it only works if
the xml file is in the same directory as the file containing the
Javascript that loads it. So this works:
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("sample.xml")
But this doesn't:
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("c:/sample.xml")
or anything else for that matter ...
Why is this?
I am trying to load an XML file. The problem is that it only works if
the xml file is in the same directory as the file containing the
Javascript that loads it. So this works:
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("sample.xml")
But this doesn't:
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("c:/sample.xml")
or anything else for that matter ...
Why is this?