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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -