title: How to use PJAX? (PJAX With PHP?)
body: <p>I was trying to get PJAX working with my PHP site, this is the code I am using for it:</p>
  
  <pre><code>&lt;script src="js/jquery.js"&gt;&lt;/script&gt; 
  &lt;script src="js/jquery.pjax.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(function(){
              // pjax
              $('ul a').pjax('section')
          })
      &lt;/script&gt;
  </code></pre>
  
  <p>I am just using the code they used on the PJAX demo page, but replacing the container they used (#main) with the one for my site, which was the section tag. There are no errors on the console or on the page, but it doesn't work either! Before I was using</p>
  
  <p><code>$(function() {
      $('ul a').pjax('section')
      });</code> 
  and</p>
  
  <pre><code>$('document').ready(function(){
     $('ul a').pjax('section')
  });
  </code></pre>
  
  <p>But when I don't use either of those and just use $('ul a').pjax('section') I see this error in the console:</p>
  
  <p>Uncaught no pjax container for section in jquery.pjax.js (line: 353)</p>
  
  <p>Could I get some help with this?
  Thanks</p>