<title>My Example</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
$(document).ready(function(){
$( "button" ).click(function() {
$( "#hideMe" ).fadeOut();
<button>Fade out the element</button>
<p id="hideMe">Click the button to fade me out.</p>
<p>I'll remain visible.</p>