<!DOCTYPE html>  
    <html>  
    <head>  
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>  
    <script>   
    $(document).ready(function(){  
        $("#sldtol").click(function(){  
            $("#sldtolpanel").slideToggle("slow");  
        });  
    });  
    </script>   
    </head>  
    <body>  
    <div id="sldtol">Click to slide toggle panel</div>  
    <div id="sldtolpanel">Hello toggle effect....It is the slide Toggle example of website to learn jQuery toggle effect.</div>  
    </body>  
    </html>
Your Answer
Login
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.