html - How to call this url using Only javascript -


i have url list of objects xml

https://test/ab

i want call using javascript try

function loadxmldoc() {       xhttp.open("get", "https://test/ab", true);       }     xhttp.send();     } 

please help

it gives status correct , ready state correct give me responsetext empty

but when try url on browser works fine

if cors problem try this addon in chrome. can go through question know more possible solutions problem.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -