一、html
<p id="top">回到这儿</p>
<a href="#top“>点击<a/>
二、jsp
<a href="JavaScript:void(0)" onclick="document.getElementById('top').scrollIntoView();">点击<a/>
posted on 2016-11-27 00:00 wantcrazy 阅读(184) 评论(0) 编辑 收藏 举报