So, I need to have a blinking title, this code should work, but for some reason it does not.
Now the console continues to show me the correct title, but the title in my browsers does not change, what could be wrong?
var blink = true; setInterval(function(){ if(blink){ $("title").text("test"); blink = false; console.log($("title")); }else{ $("title").text(""); blink = true; console.log($("title")); } }, 1000);
Linas source share