I'm actually working on the examples from the Sams 24hrs xml series.
Right after using the xmldom load method I'm checking the state of the object if xmlDoc1.readyState=="4", which is false. The actuall return code is "1" Object is loading the data. I'm using javascript and placing a alert box right after the load statement to delay the the time before I check the state of the object before working with it. I need another delay method in javascript of have I done something wrong?
ex.
function LoadFile()
{
/* The ActiveXObject will be the one that links to the
message to be read. We load the filename that was selected.*/
var xmlDoc1=new ActiveXObject("microsoft.xmldom"
;
xmlDoc1.load(Select1.value);
alert("Pause"
;
if(xmlDoc1.readyState=="4"
Right after using the xmldom load method I'm checking the state of the object if xmlDoc1.readyState=="4", which is false. The actuall return code is "1" Object is loading the data. I'm using javascript and placing a alert box right after the load statement to delay the the time before I check the state of the object before working with it. I need another delay method in javascript of have I done something wrong?
ex.
function LoadFile()
{
/* The ActiveXObject will be the one that links to the
message to be read. We load the filename that was selected.*/
var xmlDoc1=new ActiveXObject("microsoft.xmldom"
xmlDoc1.load(Select1.value);
alert("Pause"
if(xmlDoc1.readyState=="4"