我正在尝试使用来自 ink.sapo.pt http://ink.sapo.pt/index.php/js/ui#formvalidator的表单验证器
我想拦截提交事件来编写我自己的代码,但总是调用以下事件:
$("#myform").submit(function() {
alert('Handler for .submit() called.');
});
即使 onsubmit 属性为假。
基本上我希望ink.sapo.pt 验证我的表单,但我想在每次验证表单时使用我自己的代码。