Same click event two different results?
<p>I have a click event lets take this example: </p>

<pre><code>$('p').click( function() {
    $('.xclass').css( { 'background' : 'green' } );
}); 
</code></pre>

<p>The above code will change the background color of a div if I click the p tag. </p>

<p>Now my question is again clicking the same p tag I want to change the color to yellow!!. How can I do this?. </p>
