//后退:
<input type="button" value="后退" onclick="javascript:history.go(-1);">
//前进:
<input type="button" value="前进" onclick="javascript:history.go(1);">
<button type="button" onclick="history.back()">后退</button>
<button type="button" onclick="history.forward()">前进</button>
网友评论