All I can find on the web tells me how to scroll the page to the bottom or to an element.
How is it possible to scroll a specific div which has the style "overflow:auto" to the bottom using jQuery?
はい:
$("#container").scrollTop($("#elementToScrollTo").position().top);
スムーズに行きたい場合:
$("#container").animate({
scrollTop: $("#elementToScrollTo").position().top
}, 1000);
ここで、フィドルを持っています: http://jsfiddle.net/adrianonantua/nxHE8/
var scr = $('#box')[0].scrollHeight;
$('#box').animate({scrollTop: scr},2000);