function hhh(e){
var e = e || window.event;
if(e.keyCode == 13){
findUsers();
alert("sss");
}
}
function findUsers(){
var account = $("#userAccount").val();
if(account == "" || account == null){
alert("请输入查找用户的id或名!");
return;
}
window.location = "$link.getContextURL()/sns/friendController/searchFriend?account="+account;
}
为什么用户按回车键后,页面无法跳转?求大侠知道