返回链接
<a href="#" οnclick="window.history.back();return false;" >返回</a>
响应回车键
document.onkeydown = function(e)
{
var theEvent = window.event || e;
var code = theEvent.keyCode || theEvent.which;
if(code == 13)
{
checkLogin();
}
}
<a href="#" οnclick="window.history.back();return false;" >返回</a>
响应回车键
document.onkeydown = function(e)
{
var theEvent = window.event || e;
var code = theEvent.keyCode || theEvent.which;
if(code == 13)
{
checkLogin();
}
}