how to animate a flash in jquery

JavaScript
$("#someElement").fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100);
Source

Also in JavaScript: