Hello everyone,

The XML server automatically gets a 4, but I get no response . The answers are empty. Any idea?

Best regards,

Daniel Barbe.

<!DOCTYPE html>


var xmlhttp;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

  var httpRequest = null;
if(window.XMLHttpRequest) { // Mozilla, Safari, Firefox ...
  httpRequest = new XMLHttpRequest();
  if (httpRequest.overrideMimeType) {
}else if (window.ActiveXObject) { // IE
  httpRequest = new ActiveXObject("Microsoft.XMLHTTP");

 maquery = "<QUERIES><LANG>eng</LANG>"
  +"<QUERY CMD='ALBUM_SEARCH'><TEXT TYPE='ARTIST'>flying lotus</TEXT><TEXT TYPE='ALBUM_TITLE'>until the quiet comes</TEXT>"
    +"<TEXT TYPE='TRACK_TITLE'>all in</TEXT></QUERY></QUERIES>";'POST', '',true);

  function mafonction(){
  if (httpRequest.readyState==4 && httpRequest.status==200)

  if(httpRequest.getResponseHeader("Content-Type") == "text/xml"){
    alert("Réponse XML");
        alert("Réponse TXT");



} //end

m.onreadystatechange = mafonction;



<h2>My CD Collection..:</h2>
<div id="myDiv1"></div>
<button type="button" onclick="mafonction()">Get my CD collection</button>

Hi Daniel,
Currently, we do not allow cross-origin requests. This is most likely why you are not getting any response.
A workaround will be to set up your web server and let it handle the query, then return the query result.
Hope this helps.


Thanks for your answer. My english is not perfect but i understand.

I thought it was possible to send directly a "TOC" with a simple request and get a response !

Is there another way to get information on a CD without using a traditional software?

Best regards,


The free link for the top games for pc for free to play the free games online for free.

I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work...
offshore hosting and free hosting

I think this whole script is wrong. You should go for a correct script and run on server. If you need knowledge about how to enable cookies chrome you should visit given link.

Even I am having the same problem.I need to show some content in view file based on this response xml, that is why I assied it to javascript variable. I have checked for the solution in best essay service.Now my question is that what is best way to deal with this xml response.

Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome!

Five Nights at Freddy's is horror game incredibly unique. It will make you feeling of dread when play. If you're like to scary games you should play this game out!


This article is much helpful to know about common issues while using the XML server. Here the detailed description of the topic is shared. cable providers in my area Thanks for this article and continue sharing more updates on this topic.

I don't know the reason why you don't get the response. There may be some error in the functionality. So check those errors and correct it so that you will get the response. powder coating car parts