title: Unable to post variables with jquery post()
body: <p>I am trying to pass variables from a modal form to another page. I declare the variables from the form with the id tags in each selection.</p>
  
  <p>Page reloads to test.php, however no variable can be echoed.    </p>
  
  <p>javascript</p>
  
  <pre><code>var id = $( "#id" ),
      name = $( "#name" )
  
  $.post("jqtest/test.php", { device_id: "id", device_name: "name" });
  load('jqtest/test.php');
  </code></pre>
  
  <p>test.php</p>
  
  <pre><code>echo $_POST['device_name'];
  echo $_POST['device_id'];
  </code></pre>