title: how to pass variable in using post method with jquery .load()
body: <p>I want to pass the variables <code>name</code>, <code>email</code> into the <code>.load()</code> event.</p>
  
  <pre><code>var email = $('#reg-email').val();
  var name = $('#reg-name').val();
  $("#user-detail").load("proc/reg-step2.php",{ "name": "name" , "email": "email" }, function() {
      $("#ajaxLoader2").remove();
  });
  </code></pre>
  
  <p>What should be the syntax for this section so that the variable is passed instead of jst the strings I've written here <code>{ "name": "name" , "email": "email" }</code>??</p>