title: only load contents within body using ajax - jquery
body: <p>I want to load only the contents of the <strong>body</strong> of a page(sample.html) and append it to body of another page(index.html) .. how can this be done..sorry i'm a noob</p>
  
  <p>I used the below code .. but this doesn't seem to work properly</p>
  
  <pre><code>$.ajax({
      url: "/site/pages/sample.html",
      success: function(data){
          $('body').append(data);
      }
  });
  </code></pre>