var strPath = "c:\myXml.x ml";
var objDom = new ActiveXObject(" Msxml2.DOMDocum ent");
alert('step 1');
objDom.load(str Path);
alert('step 2');
............... .
AFTER step 1 I'm getting an errorrrrrrrrrrr r. Im just going crazy.
Error: Access denied!
Yes, if I put strPath like : http://somehost/myXml.xml it is going to
work.
But I need the user to be able to pick up this xml with an <input
type=file>.
It won't be any upload, invloved, just read the damn path to the xml
and load the xml. WHY is this happen?
Thanks!
var objDom = new ActiveXObject(" Msxml2.DOMDocum ent");
alert('step 1');
objDom.load(str Path);
alert('step 2');
............... .
AFTER step 1 I'm getting an errorrrrrrrrrrr r. Im just going crazy.
Error: Access denied!
Yes, if I put strPath like : http://somehost/myXml.xml it is going to
work.
But I need the user to be able to pick up this xml with an <input
type=file>.
It won't be any upload, invloved, just read the damn path to the xml
and load the xml. WHY is this happen?
Thanks!
Comment