title: Jquery Ajax load/post
body: <p>Im trying to get the <code>.load</code> method to post to a page and then echo back what was posted to see if it is working, i can't get this to work.  I tells me that the variable is undefined, here is what i have:</p>
  
  <p>teachers.php:</p>
  
  <pre><code>&lt;?php
  echo $POST['class'];
  </code></pre>
  
  <p>The JS:</p>
  
  <pre><code>$('#test').load('teacher.php', {class: 'test'});
  </code></pre>
  
  <p>That is triggered once something is clicked.</p>
  
  <p><code>#test</code> is a <code>&lt;div&gt;</code> that I want the data to post to.</p>
  
  <p>Thanks for the help.</p>