火狐下返回与键盘回车响应的实现
返回链接
<a href="#" onclick="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();
}
}