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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -