怀化市小微企业现状:网页中的返回上一页的按钮代码怎么写?
来源:百度文库 编辑:中科新闻网 时间:2024/04/29 03:06:00
相当于IE的“后退”
在html里怎么写?
在html里怎么写?
history.back();
history.go(-1);
history.back();
history.go(-1);
<input type="button" name="btn1" value="<<后退" onClick=" history.go(1)">
<input type="button" name="btn2" value="前进>>" onClick=" history.go(-1)">