title: JQuery - Get output of page?
body: <p>So since I'm still a noob, I want to know how to get the output of a page via AJAX in JQuery. I managed to get the page data and output it as text:</p>
  
  <pre><code>   $.ajax({
      type: "POST",
      url: "myfile.html",
      success: function(data) {
          $("#change").text(data);
      },
      error: function (request, ajaxOptions, exception){
              alert(request.status);
              alert(exception);
          }    
  });
  </code></pre>
  
  <p>But as you may or may not know, that pretty much just shows the source code of the page. Let's say for example that the contents of "myfile.html" are as follows:</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
     Hello!
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How would I make it so that AJAX only outputs "Hello!"?</p>