开发者

How to move scrollbars automatically

Steps

  1. Get remote data using ajax (jQuery)
  2. I Load the data into div with style overflow:auto

When I view the page开发者_JS百科 the data is still getting loaded. The scrollbar does not move till the end of the page .

How do I move the scrollbar automatically so that the latest data is seen on the web page.

Is this possible in Jquery?Please let me know .

Mithun


Yes, there is a scrollTo plugin.

Check it out here: jQuery scrollTo

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜