Hello! How to display the updated information without any handlers, that is, as soon as something has changed in the mysql database so that the page displays the changed data
.....
request.open("GET"url,true); .. request.onreadystatechange = function () { if(request.readyState != 4)return; if(request.status = 200) { document.GetElementByID("somediv").innerHtml = request.responseText; } } This code works, but shows updated data only after a reboot, probably because there is no handler.