0
사파리에서 window.autoRefresh
이 실행되지 않습니다. 어떻게 작동하게할까요? 그리고 저는 window.autoRefresh
의 예제와 동일한 문서를 얻었습니다.safari에 대한 "window.autoRefresh"의 대안은 무엇입니까?
이 코드는 DIV하지 페이지 프로퍼티 window.autoRefresh
이 없습니다
if(window.autoRefresh==true)//without this condition, refresh works fine.
{
if (typeof autoRefreshTimeout == 'undefined'){
autoRefreshTimeout = setTimeout(function(){
clearTimeout(autoRefreshTimeout);
autoRefreshTimeout = undefined;
dosomething();
}
}, 30000);
}