Hi,

I have a problem, i'd like to mark the radio button that's checked.
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") : "";
});
}
)

Can anyone please give me some pointers? i'm new to jquery and i'm
still struggling. Thanks in advance

Reply via email to