茉莉广场舞江南梦原创:网页中的返回上一页的按钮代码怎么写?
来源:百度文库 编辑:高校问答 时间:2024/05/05 01:03:07
相当于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)">