<!doctype html>
<html>
<head>
<script src="js/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<button id="id-button">click</button>
<script>
$( "#id-button" ).click(function() {
$( "<span>fadeOut Example</span>" ).appendTo( "body" ).fadeOut( 1000 );
});
</script></body>
</html>