KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
var xhttp=new XMLHttpRequest(); xhttp.open('GET', 'foo.xml', false); F12 pops back: SCRIPT5: Access is denied. on Line 95, which is the xhttp.open line. My JavaScript seems well-formed, and Firefox does what I think it should. I've read a lot of questions very similar to this one, so I've checked out the Same Origin Policy, but I can't see how it'd apply considering foo.xml is in the same directory as the html file. I opened up the scripting permissions on my local intranet, and told McAfee to take a five-minute break, just to be sure. I even tried running IE as admin, so this can't really be a permissions issue can it? Why else would IE be denied access to a local file?
Tags (comma-separated)
Save Edits
Cancel