I\'m trying to use a flash message with a fade in and out effect using jQuery. can someone please suggest the best way of doing this?
jQuery
Sure:
$(function() { $('#flash').delay(500).fadeIn('normal', function() { $(this).delay(2500).fadeOut(); }); });
jsFiddle example