Jquery checkbox click issue
<p>I have a check box on my form with id="chkBold". When i click or check this checkbox, i want element <p> to change color.
Here is my code and entire page.
It does not change color. Can you see what is wrong here?</p>

<p>Thanks.</p>

<pre><code>(function () {
    $("#chkBold").click(function(){
        if($("#chkBold").is(':checked')) {
            $("p").css('color', 'Blue'); 
        }else{
            $("p").css('color', 'Red'); 
        }
     });
});


 jsfiddle: http://jsfiddle.net/netten/dAesw/
</code></pre>
