You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
458 B
JavaScript
17 lines
458 B
JavaScript
function autoRefreshDiv() {
|
|
var statusContainer = document.getElementById('statusContainer');
|
|
var divs = document.querySelectorAll('.userActivityContainer');
|
|
|
|
divs.forEach(function (div) {
|
|
setInterval(function () {
|
|
div.innerHTML = div.innerHTML;
|
|
}, 15000);
|
|
});
|
|
|
|
// setInterval(function () {
|
|
|
|
// statusContainer.innerHTML = statusContainer.innerHTML;
|
|
// }, 60000);
|
|
}
|
|
|
|
window.onload = autoRefreshDiv; |