Here is my JQuery-based solution that I came up with a while ago for Nuggety.com:
$('<input type="submit" style="display:none;">').appendTo("#form").trigger('click'); $("#form" input:last-child").remove();
It adds a second submit button to the form and clicks it, then removes the button. Probably a better way to do this, but it works.