changing the color of p elements with .click(function)
<p>I'm trying to change the color of some p elements when they're clicked and while they're in that state, but when another p is clicked I need to change the color of the previous p element back to normal, just wondering how it's possible to do that.</p>

<p>thanks</p>

<pre><code>$('.slide span p').click(function() {
 var p =$(this);
 p.css('color','#999');

           //not working with :not()
            p:not().css('#color','#ffffff');
});
</code></pre>
