1、JavaScript打印调试
css
console.log(message);
2、html网页中返回上一页面
css
<a href="javascript:history.back(-1)">返回上一页</a>
<a href="javascript:;" onClick="javascript:history.back(-1);">返回上一页</a>
<input type="button" name="Submit" οnclick="javascript:history.back(-1);" value="返回上一页">
<a href="javascript :;" onClick="javascript :history.back(-1);">
<img src="图片路径" border="0" title="返回上一页">
</a>
<a href="javascript:history.go(-1);">向上一页</a>, 返回两个页面: history.go(-2);
页面跳转:οnclick="window.location.href='list.php'"