Auto Load and Refresh Div every 10 Seconds with jQuery

后端 未结 3 643
感动是毒
感动是毒 2020-12-03 19:06

I\'m working with a nice little Jquery that auto loads and refreshes a div every bla bla Seconds. Works perfectly on all browsers then I load up IE and bang what a surprise

3条回答
  •  囚心锁ツ
    2020-12-03 19:33

    Add a random value at the end of the url to avoid caching.. That should solve your problem. ex: $('#load').load('reload.php?_=' +Math.random()).fadeIn("slow");

提交回复
热议问题