We often use blink in html to get users attention but it makes our info unreadable and irritating. So today i am sharing a small jquery code which will produce same effect. And can be easily edit according to need.
function blink(){
$("#box").fadeTo(100, 0.1).fadeTo(200, 1.0);
}
self.setInterval(function(){blink()},1000);
This is small code which can do the whole thing work. Self.setInterval() is function which will call itself after 1 sec and call blink function.
For more details run the below example :