-----------------------------------------------------有关history------------------------------------------------
history.go(0);//使用js刷新页面
history.go(-1);//返回上一个页面
history.go(-2);//返回前两个页面
window.history.forward();//返回下一页
---------------------------------------------------------去顶部--------------------------------------------------
window.location.href="javascript:scroll(0,0)";
----------------------------------------------------解决输入一大串数字或者字母在页面显示上有问题--------------------------------------------------
只需要写一个css
.WordTab{
word-break: break-all;
word-wrap: break-word;
}