js按enter键提交

function login() {
if (event.keyCode == 13) {
$("#login").click();
}
}

posted @ 2018-05-23 15:03  南城。  阅读(122)  评论(0编辑  收藏  举报