Javascript: scroll to bottom of page/window

Alec Jacobson

January 07, 2010

weblog/

Seems to work great in Safari and Firefox. Will check IE later...
window.scrollTo(0,document.body.scrollHeight);
Try it!