Fading out a div and refreshing the page using jQuery
<p>Given that I have a button within a div:</p>

<pre><code>&lt;div id="result"&gt;
        &lt;a href='#task5'&gt;
        &lt;img src='resources/book.png' style='padding-top: 10px;'
        class='button3'&gt;
        &lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>How would I use jquery or javascript to: </p>

<p>1) Fade out the div </p>

<p>2) Refresh the page</p>

<p>3) Automatically jump to an anchor called #t5 on the page</p>

<p>This is what I have so far but I'm having difficulty jumping to an anchor called t5:</p>

<pre><code>$(".button4").click(function (){
    $("#result").fadeOut(function(){
        location.reload();
    })
})
</code></pre>

<p>Thanks in advance.</p>
