If it is a input type submit, and has an onclick event, the safest thing to do is change it to an input type button and use the javascript form.submit() to submit the form after the check is performed. We have been bitten by this one many times and it is a pain to track down. At the least, changing the input type is a simple try to see if it fixes the problem.
Good luck!!