What is the action of blind effect in Jquery and how to apply blind effect in Jquery?

 Posted by Vivek.Ramapuram on 9/1/2014 | Category: jQuery Interview questions | Views: 1717 | Points: 40

The blind effect hides/shows an element by wrapping the element in a container, and "pulling the blinds"

The code should be written with in the body html and body tags.
For applying this blind effect we should give a link of jquery version

This is the link of jquery version

 <script src="//code.jquery.com/jquery-1.10.2.js"></script>

<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>

<link rel="stylesheet"  


#toggle {
width: 300px;
height: 100px;
background: black;

<p>Click here for the action.</p>
<div id="toggle"></div>

$( document ).click(function() {
$( "#toggle" ).toggle( "blind" );

Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response