2010-07-26 41 views

回答

1

您只需拨打该验证提交表单中的jQuery服务器端提交表单jQuery中服务器端DOM (not jQuery) form.submit() method,像这样:

$("form")[0].submit(); 

或者,如果它是由ID:

document.getElementById('myForm').submit(); 
//or 
$("#myForm").get(0).submit(); 

这绕过了jQuery的事件处理程序,并阻止它们的运行,而是直接提交<form>