Use XMLHTTP without refreshing automatic real-time update data.

zhaozj2021-02-16  83

A few times I wrote a few examples of XMLHTTP applications. (You can get a few more than XMLHTTP before http://dev.9cbs.net/USER/WANGHR100.)

Recently, some people often ask questions on how to brush and automatically update data. Traditionally, we browse the web, if you join the latest data. Can only be displayed when we re-serve the server, but for some timeliness Very strong website. The traditional practice is not satisfied.

We can make the program automatically refresh. Time to request data to the server. 5 seconds, take the data for 10 seconds. Use XMLHTTP to issue a request and obtain data. Translate to the client, the client reorganizes and displays the data.

Demo.htm front desk display.