You must Sign In to post a response.
  • Category: JavaScript

    XMLHttpRequest not works in chrome ? why ?

    Hi Team,
    I want to read xml using XMLHttpRequest. below code works fine firefox but not working in Chrome.

    xmlhttp = new XMLHttpRequest();
    xmlhttp.open(xmlpath, false);
    xmlhttp.setRequestHeader('Content-Type', 'text/xml');
    xmlhttp.send();
    xmlDoc = xmlhttp.responseXML;

    i don't know, what to do. if any one know about the share me the answer.


    Regards
    Nanda Kishore.CH
  • #756772
    It seems some of the permission issue, have you added the required permission in the manifest



    "permissions": [
    "http://myseverurl/ExtentionName/method.ashx",
    "tabs",
    "etc..",]

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • Sign In to post your comments