I have a form, and a submit handler in jQuery.
When the user submits the form, I want to modify (add) some parameters to the POST request, before it is despatched fr
Attach a submit() handler to the form.
$('form#myForm').submit(myPostHandlingFunction);
Then submit/ do the post from your function. The easiest thing would be to just populate a couple of hidden inputs in the form and then return true to allow the submit to happen if everything looks right.