Toggle show/hide <div> element with jQuery
<p>I have used following Jquery to show div on button click, with following code. But its not showing the div on button click.</p>

<pre><code>$(document).ready(function(){

    $("#addbutton").show();
    $("#addchild").show();

$('#close').click(function(){
$("#addbutton").slideToggle();
});

});
</code></pre>

<p>Where addbutton is id of button, addchild is div that I want to show, and finally close is id of anchor that will close the div addchild.</p>

<p><strong>Don't reduce reputation, and if you are mention reason for that.</strong></p>
