博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Javascript 让页面滚动到页面的底部

Posted on 2008-08-26 14:18  LonelyStar  阅读(1773)  评论(0编辑  收藏  举报
Code

 

 

用c#来实现:ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "scroll", "window.scroll(0,window.document.body.scrollHeight);", true);