How to switch between 2 CSS colors with jQuery?
<p>I want a string of text to change color from default to #c30 when I click a button somewhere on the page, and it changes back to default when I click the button again.</p>

<p>My code looks like this:</p>

<pre><code>$("#button").click(function() {
 var anno = $(#text);
 if (anno.css('color') == '#c30') {
  anno.css('color', '');
 } else {
  anno.css('color', '#c30');
 }

});
</code></pre>

<p>But it doesn't seem to work on FF3. Works in IE though. Any idea?</p>
