Create a jQuery function which fades out any object that is clicked on. code example
Example: jquery on click fade out element
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut();
});
});
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut();
});
});