Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 使用 jQuery 提交表单
$('#form')
假设表单的 jQuery 对象可用。
$('#form').submit();
如果你做了很多表单ajaxery,你可能会对这个插件感兴趣。您可以在准备好的文档上连接您的表单,它将处理 ajaxing:
$('#form').ajaxForm();