Just add a return false after submit(). like:
The code copy is as follows:
document.formname.submit();
return false;
Pay attention in the future
I tried another method later:
The code copy is as follows:
if ($("#formid").validationEngine("validate")){
document.getElementById("formid").submit();
}
It's OK, too