javascript - Hide browser loading icon on iframe reload -


i trying make iframe reload every 1 second when shows spinning loader on browser tab. possible make iframe reload without letting browser notice reload. jquery or ajax job?

function do_reload(){     document.title = "title";     document.getelementbyid('iframe_box').src='status.php'     document.title = "title"; }  window.setinterval("do_reload()", 1000); 

jsfiddle

yes jquery , ajax can it.
using jquery load method, example shown below
suppose have div id = "window" use following jquery

      function loadwindow()     {       $("#window").load("status.php");     }  

then call every 1 second.. window.setinterval(loadwindow,1000);


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -