Change style if checkbox checked
<p>How can I do that ? This is not working, no results, no effect, no error output.</p>

<pre><code>$('input[type=checkbox]').each(function() 
    {
            if($(this).attr("checked") === true){
            $('.hoverbox .a').css('text-transform', 'uppercase');
            }
            else
            {
            $('.hoverbox .a').css('text-transform', 'lowercase');
            }
    });
</code></pre>
