Using XMLHTTP without refreshing automatic real-time update data. WANGHR100 [original]

zhaozj2021-02-16  90

A few times a few more time I wrote an example of XMLHTTP. (You can get the introduction of XMLHTTP before http://dev.9cbs.net/USER/WANGHR100.) Recently, some people often ask questions about how Refresh, automatically update the data. Traditionally, we browse the web, if you join the latest data. Can only be displayed when we re-re-serve the server request. However, for some time-effective websites. Traditional practice Is it unable to satisfy. We can let the program automatically refresh. Time to request data. 5 seconds, take a data, 10 seconds, take the data. Use XMLHTTP to issue a request and obtain data. Transfer to the client, client reorganize and display data Demo.htm front desk display.