<script src="http://code.jquery.com/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('a').click(function(){
$('div').slideToggle();
});
});
</script>
<a href="#">click</a>
<div style="background: red; display: none; width: 100px; height: 100px;"></div>