js enter键激发事件
document.onkeydown = function (e) {
if (!e) e = window.event;
if ((e.keyCode || e.which) == 13) {
$("#btnSubmit").click();
}
}
document.onkeydown = function (e) {
if (!e) e = window.event;
if ((e.keyCode || e.which) == 13) {
$("#btnSubmit").click();
}
}