Use setTimeout and return false to prevent the form from being submitted.
With that setTimeout, set it to something like 100ms so that your delayed function can check the form and then submit it, if appropriate.
Thanks Paul, but I ended up just using jquery validation, since its more reliable anyway.
Thanks anyway though.
This topic is now closed. New replies are no longer allowed.