c# - JavaScript setTimeout not firing after Window.Open -
i have asp.net web page works on ios4 not on ios5.
on parent web page have button opens child window. , settimeout refresh thing in parent window right after open window call.
i noticed on iphone ios5 when opens child window, settimeout function in parent page not called until go parent window , child window see update.
here's snippet of code in parent page , think problem
windowmanager.openwindow('...') t = settimeout(function() { handles[0].testfx(); }, 1000);
this runs on ios4 not on ios5.
any ideas?
ios5 indeed pause javascript when window not active window. there nothing can this, best can try alter setup javascript not need run when window in background.
you said doing settimeout refresh thing in parent window
. why doing this? frankly, sounds little bit odd -- why want refreshing when user can't see page? line handles[0].testfx();
you?
Comments
Post a Comment