$(document).keydown(function(event) {if (event.keyCode == 13) { $('form').each(function() {//你的要运行的代码 }); }}); 相关文章: