Display an image when hover over an item in a Radio Button Group

With regard to @Bruno Prado code above, the disabled checkbox uses the default style for disabled checkboxes. I can change this manually and it works. The documentation provides an example of setting the background style, but also says the method does not reset the style of the disabled state and others. It does NOT say you can’t do it at all. I tried this and of course it did not work as expected

if ( $item ( ‘#cb’ ). checked === true ){
$item ( ‘#cb’ ). style . backgroundColor = “#E8E8E8
}
Is there a way to change it in code?