fade out with time duractionin jquery for text code example
Example: on click fade out jquery
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut(2500);
});
});
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut(2500);
});
});