S
Scott M.
Instead of using a submit button on your form, use a regular HTML button
that has an onClick event handler on it that calls a function.
In that function, do whatever you like and when you are done invoke
formName.submit()
that has an onClick event handler on it that calls a function.
In that function, do whatever you like and when you are done invoke
formName.submit()