I have this form
<form action="" method="post">
  <input type="hidden" name="one" value="somevalue">
  <input type="hidden" name="two" value="anothervalue">
  <input type="hidden" name="three" value="someothervalue">
</form>
I also can use jQuery.
How can i serialize the form data to get the $.post() or $.ajax() methods to send the data in the HTTP request this way:
mydata[one]: somevalue
mydata[two]: anothervalue
mydata[three]: someothervalue
Instead of:
one: somevalue
two: anothervalue
three: someothervalue