title: jQuery $.post returning "Maximum call stack size exceeded"
body: <p>Getting a stack size exceeded error doing an ajax post in jquery</p>
  
  <pre><code>$('#challengeForm').submit(function(e) {
      var ajaxUrl = admin.ajax_url;
      var emailInput = $(this).find('input[name="email"]');
      var formId = $(this).find('input[name="formId"]');
      $.post(ajaxUrl,{action:'challengeFormSubmit',email:emailInput,listId:formId},function(data) {
  
          console.log(data);
  
      },'json');
      e.preventDefault();
  });
  </code></pre>
  
  <p>I ran some <code>console.log</code> debug and found the error is called at the <code>$.post</code>.</p>