There have two divs in same page, one of them is hidden and toggle with the other div at click of a button using jQuery.
Is it possible to give the hidden div a “fade in” effect so when the two divs toggle the new div gets a background color that “fade” to transparant in 2-3 seconds to highlight the new div?
Sorry for some incorrect english.
Thanks.
You can use:
.fadeOut() API Doc
.fadeIn() API Doc