python findall函数:网页中的返回上一页的按钮代码怎么写?
来源:百度文库 编辑:神马品牌网 时间:2024/07/01 10:49:46
相当于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)">