javascript - How to use Scroll options -


next code takes care see last typed text in window. if want read previous text (scroll upper) must use mouse wheel move upper or or down arrow on keyboard. missing , more used to, use mouse click event grab scroll pointer , move or down-as need. must this?

function updatescroll(){     var element = document.getelementbyid("statusid");     element.scrolltop = element.scrollheight; } 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -