Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何让 jquery 每 10 秒加载一个 php 脚本,直到 php 脚本返回一个不为空的值?(然后它应该停止加载 php 脚本)
setInterval()会为你解决这个问题。
setInterval()