js enter键

  $('#txtbaiduRote').live("keyup", function (event) {
            if (event.keyCode == 13) {
                BaiduRote();
            }
        }); 

原文地址:https://www.cnblogs.com/Mancy/p/3298868.html