JQuery Toggle & Image
<p>I have a + icon and a - icon. When someone clicks the + icon a box appears and the icon changes to a - icon. If they click again the box disappears and the icon changes to a + icon. </p>

<p>Here is the code I tried but its not working...</p>

<pre><code>$("#box").toggle(function(e){
        $("#icon").attr ("src","/images/icon_expand.png")
    },
    function(e) { 
        $("#icon").attr("src","/images/icon_retract.png")
    }
);
</code></pre>

<p>Any ideas?</p>

<p>Thank you!</p>
