title: Unable to parse single post values from ajax
body: <p>I have a jquery function that takes form values, serializes them and passes them to a php function in a Wordpress plugin. When I try to retrieve the post values, I can only retrieve the entire string, not each value. Here is my current jquery function:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>jQuery('.lesson_complete').change(function () {
      if (jQuery(this).is(":checked")) {
          //var module = jQuery(this).parent().find('.module-id').val();
          //alert(module);
          var progress_post = jQuery(this).parent().serialize();
          
          jQuery.ajax({
              type: "POST",
              url: submitprogress.ajaxurl,
              data: {
                  action: 'submit_progress',
                  data: progress_post
              },
              success: function (response) {
                  //alert(form_parent);
                  //alert('success');
                  alert(progress_post);
                  alert("working" + response);
                  //jQuery("#feedback").html(data);
              }
          });
          
          return false;
      }    
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form type="post" action="#" id="moduleProgressForm"&gt;
      &lt;label for="lesson_complete"&gt;Finished with this lesson?&lt;/label&gt;
      &lt;input type="checkbox" class="lesson_complete" value="1" name="lesson_complete" /&gt;
      &lt;input type="hidden" name="user_id" value="'.get_current_user_id().'"/&gt;
      &lt;input type="hidden" name="post_id" value="'.$current_post.'"/&gt;
      &lt;input type="hidden" class="module-id" name="module_id" value=""/&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I can access the string using this in the function:</p>
  
  <pre><code>$post_values = $_POST['data']
  </code></pre>
  
  <p>It returns this string:</p>
  
  <blockquote>
    <p>lesson_complete=1&amp;user_id=2&amp;post_id=1&amp;module_id=1</p>
  </blockquote>
  
  <p>But I can't access individual post values. What am I doing wrong?</p>