当前位置:
代码迷
>>
ASP.NET
>> 点一个按钮,直接将页面拉到最底部解决思路
详细解决方案
点一个按钮,直接将页面拉到最底部解决思路
热度:
3875
发布时间:
2013-02-25 00:00:00.0
点一个按钮,直接将页面拉到最底部
RT
------解决方案--------------------------------------------------------
<input type="button" onclick="window.scroll(0,document.body.clientHeight)" />
或者在页底放一个 标签,用连接指过去.
<a href="#bottom">bottom</a>
<a name='bottom' ></a>
查看全文
相关解决方案