Hi all,
I am trying make the background color of a div appear and then disappear like a flash coming and going but without nay success till now. On the click of a div, I am trying to give a flash effect to another div's background color.
So far, my jquery knowledge have come to the following code:
$("div.first_div").click(function(){
$("#second_div_ID").fadeIn(30).css("background-color", 'blue')
.fadeOut(1000).css("background-color", 'blue');
}); });
but what happens is the whole second div disappears along with the content which is not expected. Any help would be appreciated! Thanks!