Cross domain, ajax and ASP

Cross domain, ajax and ASP

Hello,

I'm using a proxy script to get XML from an ASP server. While I can read directly the data into a browser, I have problems using jQuery. I must be tired, but if someone can pinpoint what I am not doing, or doing wrongly, I would greatly appreciate!

Here is the code:

   
  1. var webMethod="http://www.innergex.com/proxyStockwatch.asp";
  2. $('#content-area').append('<div id="test"></div>');
  3. $.ajax({ url:webMethod,
  4. dataType:'xml', success:function(xml){ alert('succès')}, erreur:function(xml){ alert('erreur ')}, complete:function(xml){ $('#test').text($(xml).toString()); } })
I am not receiving any error  alert. The complete function returns : [object XMLHttpRequest]

I have tried with a result coming from a proxy made in PHP. Same problem.