check if radio checked jquery and add styles jquery code example
Example: How can I know which radio button is selected via jQuery
if ($('input[name="radioName"]:checked', '#myForm').length) {
//Yes, it's checked!
}
if ($('input[name="radioName"]:checked', '#myForm').length) {
//Yes, it's checked!
}