title: jquery serialize and $.post
body: <p>I'm trying to send a lot of data from a form using the $.post method in jQuery. I've used the serialize() function first to make all the form data into one long string which I will then explode serverside.
  The weird thing is when I try and send it using $.post it appends the result of the serialize() to the URL as if I was sending it using GET. 
  Anyone have any ideas why this is happening?  </p>
  
  <p>Here's the jquery:  </p>
  
  <pre><code>$("#addShowFormSubmit").click(function(){
    var perfTimes = $("#addShowForm").serialize();
    $.post("includes/add_show.php", {name: $("#showTitle").val(), results: perfTimes }, function(data) {
      $("#addShowSuccess").empty().slideDown("slow").append(data);
    });
  });  
  </code></pre>
  
  <p>here's the php:  </p>
  
  <pre><code>$show = $_POST['name'];
  $results = $_POST['results'];
  $perfs = explode("&amp;", $results);
  foreach($perfs as $perf) {
      $perf_key_values = explode("=", $perf);
      $key = urldecode($perf_key_values[0]);
      $values = urldecode($perf_key_values[1]);
  }
  echo $key, $values;  
  </code></pre>