Reputation: 7236
window.setInterval(function(){
$('#Notify-Bar').html('a new notification');
}, 5000);
Did not work on IE, however works fine on other major web browsers (like Chrome, Firefox, Opera)...
Upvotes: 1
Views: 7389
Reputation: 27384
You should use something like
setInterval("myFunc()",5000);
function myFunc()
{
$('#Notify-Bar').html('a new notification');
}
Upvotes: 4