SyntaxFix
Write A Post
Hire A Developer
Questions
The following will work. Please note [0] and scrollHeight
[0]
scrollHeight
$("#myDiv").animate({ scrollTop: $("#myDiv")[0].scrollHeight }, 1000);