Here is some code that checks if a radio button is disabled. How do I reform this to make the radio unchecked if it is currently disabled? And yes I still want to remove the parent CSS class. Thanks.
$('input:disabled', true).parent().removeClass("style1");
Why won't this work?
$('input:disabled', true).attr('checked', false).parent().removeClass("style1");