I think you can use <input type"submit"... in the second one too, the onClick event handler will negate it. Probably best using ; return false after the JavaScript in the onClick statement if you are though.

it didn't work. Other JavaScript commands worked fine, but changing parent.location didn't. I checked a bunch of on-line references, and -- curiously enough -- NONE of them were changing parent.location in the onSubmit handler.

What DOES seem to work is changing the Submit button to a normal button, and in the onClick handler calling document.form[0].submit(). What a goofy situation.