In this tutorial, we will discuss about 'slideToggle' &' slideUp' function of jQuery. In the below example, when you click on given button, a window opens .And if you again click on this button, it hides window. This window also contain a '[x]' button. When you click on it, it hides the window also. This window displays because the button click fires 'slideToggle' event, which slide up the window.
slideToggle.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
OUTPUT
When we click on 'button', it displays :

If you again click button or [x] , it will displays :

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.