Javascript Ajax jQuery Html PHP Example Quiz New MORE
Need a Website Or Web Application.Contact : +91 9437911966 (Whatsapp) Note: Paid Service

How to Fade-In and Fade-Out in jQuery

In this example we will discuss How to Fade-In and Fade-Out in jQuery.

<!DOCTYPE html>  
<html lang="en">  
  <meta charset="utf-8">  
  <title>Fade out boxes</title>
  <script src=""></script>
  	h2 {  
    	color: white;  
  <script type="text/javascript">
    $("#div").fadeOut("slow");//The required speed parameter values: "slow", "fast", or milliseconds.
<button id="out">fade out boxes</button>
<div id="div" style="width:400;height:100px;background-color:green;"><h2 style="color:white;text-align:center;padding-top:40px;">STUDENTS TUTORIAl</h2></div>

Run it Yourself »