flash effect jquery on click code example
Example 1: how to animate a flash in jquery
$("#someElement").fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100);
Example 2: set flash on a button using jquery
$(document).ready(() => {
setInterval(() => {
$('p').fadeIn();
$('p').fadeOut();
}, 500);
});