Jquery + Toggle with double callback
<p>Hi I'm trying to use a toggle() with a callback for on/off:</p>

<pre><code>instantMsgTabOptions.click(function() {
instantMsgOptions.toggle(function() {
        $('table.instantMsgTabs td.instantMsgTabOptions').css('color','#849C00').css('text-decoration', 'underline');
    },function() {
        $('table.instantMsgTabs td.instantMsgTabOptions').css('color','#000').css('text-decoration', 'none');
    });
});
</code></pre>

<p>this doesn't work - any advice on what needs to be changed?</p>

<p>thx</p>
