title: Submit form and a textarea on ajax post
body: <p>I want to submit a form and another textarea on my ajax post, will that be possible? Here is my code</p>
  
  <pre><code>&lt;script&gt;
  function updateuseracc(form, password)
  {   
      var p = document.createElement("input");
  
      form.appendChild(p);
      p.name="p";
      p.type="hidden";
      p.value=hex_sha512(password.value);
      password.value="";
  
      var email=$("#curemail").val();
  
      $.post('updateuser.php',$('#myform').serialize(),textarea:textarea),(function(data){
      });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>I'm just getting errors with this</p>