A journal for sharing all things software development related
Wed, 18 Dec 2019 18:02 UTC by garethbrown
If you are finding that the below does not work ...
Change to the more reliable:
document.body.scrollTop = document.documentElement.scrollTop = 0;
The information on this site is provided “AS IS” and without warranties of any kind either
express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.