title: Get the resulting text of the xmlhttp
body: <p>I have the following code: </p>
  
  <pre><code>$(document).ready(function () {
              var xmlhttp = new XMLHttpRequest();
              var url = "https://url.org/pTest/isoe.asmx/echo?say=dsafd";
  
              $.ajax({
                  url: url,   
                  type: 'GET',
                  dataType: 'html',
                  cache: false,   
                  success: function(msg) {
                      alert("Success: " + msg);
                      $("#contentHolder").text(msg);
  
                  }, error: function() {
                      alert("Error!!");
                  }
              });
          });
  </code></pre>
  
  <p>The result that is alerted in the success function looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;string xmlns="http://url.org"&gt;you said:dsafd        --&amp;gt;SHA1:a6c9c8ffe4422e3ec4d46eac9ea552ff75c9d41b64add68a7b7ff8659a5b739e&lt;/string&gt;
  </code></pre>
  
  <p>So I am basically just using <code>.../echo?say=something";</code> What I want to do, is to get the result of the: <code>/echo?say=dsafd";</code> So I want it to alert "dsafd" instead of the entire xml file. I tried using: <code>msg.responseText</code> and <code>msg.responseXML</code>, but these don't work. They are empty. How can I get the result of the echo?</p>