rayfidelity wrote:
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.
I think that's because not every browser applies a background color to a checkbox. The code looks correct.
--Klaus