How to get the scroll position value of a document?
You can try this for example, this code put the scrollbar at the bottom for all DIV tags
Remember: jQuery can accept a function instead the value as argument. "this" is the object treated by jQuery, the function returns the scrollHeight property of the current DIV "this" and do it for all DIV in the document.
$("div").scrollTop(function(){return this.scrollHeight})