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.
我是使用 REST API 并jquery从自定义数据源中提取数据的开发用户控件,我将在页面中添加用户控件,我需要每 5 分钟刷新一次结果以检索数据,如何实现
jquery
通常,您构建一个自调用函数,例如
function poller(){ [...] if(someConditionIsnTMet) setInterval(poller, timeToWait); }