How to hide and show a div using jquery

Hide and show a div using jquery is sometimes very usefull. So this is simple tutorial with jquery enjot it.

CSS

#content-div
{
width:300px;height:300px;background:#009999;
}

Jquery



HTML

Hide Div
  
Show Div


Download File Used in this example View Live Demo

No comments:

Post a Comment