1
Answer

XMLHttpRequest not works in chrome ? why ?

Nanda Kishore

Nanda Kishore

9y
520
1
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
Answers (1)