Want to know similar delivery effect is how to achieve, is a little shipping, front desk display has been shipped the first single, the second single, the third single ...
How do you use Ajax to know where the server is working. It's best to stick to a simple demo, thank you.
Reply content:
Want to know similar delivery effect is how to achieve, is a little shipping, front desk display has been shipped the first single, the second single, the third single ...
How do you use Ajax to know where the server is working. It's best to stick to a simple demo, thank you.
The simple point is that Ajax polling
The complicated point is websocket.
You must have seen a similar site, open 控制台 网络 , and see how the request was sent, presumably there will be ideas
As @dryyun says, you can achieve your results with Ajax polling/long polling or websocket technology.
I wrote a series of related articles you can see, have not understood can contact me:
comet--new technology arising from the rise of Ajax technology
Ajax polling--"timed through AJAX query server"
Uncover the mystery of Ajax long polling with plain English
Simple and useful chat room technology--websocket