Thanks but it doesn't work.
On Jun 21, 6:39 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> This should work:
>
> $(document).ready(function() {
> $("[EMAIL PROTECTED]'section']").click(function(){
> $(this).css('background', this.checked ? 'red' : '');
> })
>
> });
> > Here's what i came up with, but it doesn't work.
>
> > $(document).ready(function() {
> > $("[EMAIL PROTECTED]'section']").click(function(){
> > $("[EMAIL PROTECTED]'section']:checked").val() == 1 ? $
> > ("[EMAIL PROTECTED]'section']:checked").css("background","red") : "";
> > });
> > }
> > )