window.setInterval jQuery function does not work on IE8
window.setInterval(function(){
$('#Notify-Bar').ht开发者_JAVA技巧ml('a new notification');
}, 5000);
Did not work on IE, however works fine on other major web browsers (like Chrome, Firefox, Opera)...
You should use something like
setInterval("myFunc()",5000);
function myFunc()
{
$('#Notify-Bar').html('a new notification');
}
精彩评论