In my java scripts i am using following code.
i am getting access denied as exception.
I have try catch block only this part of code.
and in other machine it is giving object error.
strange part is in 2 machines how it can give different error?(Both are similar machines).
code is..
Regards
Dheeraj Joshi
i am getting access denied as exception.
I have try catch block only this part of code.
and in other machine it is giving object error.
strange part is in 2 machines how it can give different error?(Both are similar machines).
code is..
Code:
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
try
{
xmlDoc.load("C:\\Documents and Settings\\dheeraj\\Desktop\\test.xml");
}
catch(e)
{
alert(e.message)
}
Regards
Dheeraj Joshi
Comment