//回车自动提交内容 $(document).keypress(function(e){ if(e.keyCode == 13){ $("#button").trigger("click"); } })
});本篇文章来源于 cssrain.cn 原文链接:http://www.cssrain.cn/article.asp?id=997