I want to update the data without reloading the page. I look in the direction of ajax. That is, to do every N seconds a request for a php file that will generate the data and then replace them with a code:
$("#page").html(answer); But in this way it turns out that a lot of data comes in, there is a big load on the server, and the page jumps.
Maybe the option to make json'on to come answer? How then to update it on the page more correctly? I would be grateful for useful information, examples.