I have a form on a webpage and I also have some JSON data in Javascript, how do I use JQuery to append the JSON data on form post? Here are some example:
<form action="server.cshtml">
</form>
<script>
var data = {
data1: "aaa",
data2: "bbb"
};
$("form").submit();
</script>