jquery toogleing code example
Example: jquery toogle
//Toggle between hide and show for all <p> elements:
$("button").click(function(){
$("p").toggle();
});
//Toggle between hide and show for all <p> elements:
$("button").click(function(){
$("p").toggle();
});