title: Load .php page into a div Ajax and Javascript
body: <p>(I am pretty new to all this.) I have a page where the user can click between different sorting methods of user posts. Depending on which they click the content shown will correspond. </p>
  
  <pre><code>function newContent()
  {
    $.ajax({
        url: 'ajax/newcontent.php',
        success: function() 
        {
              $("#content_div").empty().load("ajax/newcontent.php");
        }
  
        });
  }
  </code></pre>
  
  <p>This is what I have now. But instead of loading the code from the .php page into the #content_box, the #content_box just goes blank.</p>
  
  <p>Any help would be awesome!</p>
  
  <p>EDIT ** changed #content_dov to #content_div - whoops</p>