I got some help to create the code below and I wonder who I should make the disable input text to have a yellow color. If I change into another input text, the disable one should should have a default background and the new disable input text should have a yellow background color.

I tried to add a code with this code 

code `"$('.'+other_class).prop('style', 'background-color : yellow;' );"` but It didn't go so well.

Do you know how to solve this case?

A complementory. I need to have style and disabled at the same time. It is important that you use background with style because I'm using bootstrap.

Thanks!

<https://jsfiddle.net/8NynQ/118/>

```
$(document).ready(function(){
    $('input[type=radio][name=test]').click(function(){
        var related_class=$(this).val();
        $('.'+related_class).prop('disabled',false);

        $('input[type=radio][name=test]').not(':checked').each(function(){
            var other_class=$(this).val();
            $('.'+other_class).prop('disabled',true);
        });
    });
});

```