There is a Table in a
, use js to continuously execute insertRow(-1) in the table,
div.style.overflow = "auto"
wants the div to execute insertRow(-1) ) and then automatically scroll to the end (new row)
Method:
var newRow = table.insertRow(-1);
newRow.scrollIntoView();
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn