1var data = $(this).serializeArray(); // convert form to array
2data.push({name: "NonFormValue", value: NonFormValue});
3$.ajax({
4 type: 'POST',
5 url: this.action,
6 data: $.param(data),
7});
1var data = $('#myForm').serializeArray();
2data.push({name: 'wordlist', value: wordlist});
3
4$.post("page.php", data);
5