fade out on click jquery without button code example
Example 1: on click fade out jquery
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut(2500);
});
});
Example 2: jquery on click fade out element
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut();
});
});