标签:
/* 回车事件 */document.onkeydown = function (e) { var theEvent = window.event || e; var code = theEvent.keyCode || theEvent.which; if (code == 13) { $(‘#search_btn‘).click(); }}
回车事件
原文地址:http://www.cnblogs.com/duyinqiang/p/5754108.html