由网友(瞧我这记性,又把你当人了)分享简介:下面是从问题所采取的截图标记为PHP。Here is the screenshot taken from questions tagged with PHP.所以,如果我打开这个页面,让它无刷新了几分钟就appers So, If I open this page and leave it without refr...
下面是从问题所采取的截图标记为PHP。
Here is the screenshot taken from questions tagged with PHP.
所以,如果我打开这个页面,让它无刷新了几分钟就appers
So, If I open this page and leave it without refresh for some minutes it appers
X的问题与新的活动
当我点击它,它显示所有最新的更新。我想写类似的脚本进行新闻更新。它使用JavaScript是的setTimeout
轮询服务器,并嵌入了更新,以< DIV>
And when I click it, It display all latest updates. I want to write similar script for news updates. Is it using JavaScript setTimeout
to poll the server and embed the updates to <div>
?
推荐答案
的WebSockets
websockets
StackExchange.realtime.init('ws://sockets.ny.stackexchange.com:80');
http://socket.io/
相关推荐
最新文章