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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -