Sending value with .submit()

Sending value with .submit()

Hello everyone,

This is probably really simple, but I'm at a wall. I have a form with two submit buttons. One will save progress (which I do with a .post and no page reload) and the other finalizes the form (which I want to do a page refresh). I have a jquery dialog pop up for the finalize asking if the user is sure, and when they click "yes" I want to do a form.submit(), but I need to pass a value of "submit=Finalize" so my PHP script reads it properly.

I can't use a hidden field, as both buttons are named Submit, but send different values, which the PHP then uses to figure out what to do with the data.

So is there a way, like in the .post() function to send just one extra value for "Submit" in the submit() function, but still allow for the page to reload?

Thanks!