I have a table inside a div with the following style:
#data { overflow-x:hidden; overflow-y:visible; height:500px; }
Displays a vertical scroll bar when enough data is added to the table. However, when new data is added, I would like the div element to automatically scroll down.
What JavaScript code can I use for this? If necessary, I open up opportunities in jQuery, but would prefer a JavaScript solution.
javascript jquery html css
Drew Galbraith Sep 05 2018-11-11T00: 00Z
source share