title: Output results from a jquery ajax call
body: <p>I'm calling a web service using jquery's ajax method and it seems to work since the 'success' function is executed. I need to output the raw results returned, but when I use alerts, the messagebox shows the output as:</p>
  
  <pre><code>event=''
  XMLHttpRequest=success
  ajaxOptions=undefined
  </code></pre>
  
  <p>What am I doing wrong and how can I output the raw results?</p>
  
  <pre><code>$.ajax({
  url: "http://mysite/service/lists.asmx",
  type: "POST",
  dataType: "xml",
  data: soapEnv,
  contentType: "text/xml; charset=utf-8",
  success: function(event, XMLHttpRequest, ajaxOptions){
   alert("event= "+event);alert("XMLHttpRequest= "+XMLHttpRequest);
   alert("ajaxOptions= "+ajaxOptions);},
  error: function(xhr) {
   alert('Error! Status = ' + xhr.status);}
  });
  </code></pre>