回车登录,兼容

//点击回车键//2015/3/11
document.onkeydown = function (event) {
    var e = event ? event : (window.event ? window.event : null);
    if (e && e.keyCode == 13) { // enter 键
        //登录
        wds_logintongji();
    }
};

 

posted @ 2015-03-31 13:01  b̶i̶n̶g̶.̶  阅读(126)  评论(0编辑  收藏  举报