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
Post a Comment