Hide and Disable a radio button in a grid

Hello,

I am working in 9.15.4. I am using the below code to hide and disable a radio button in a grid.

I have used this code before and it has worked but for some reason it is no longer working. The code will hide the radio button but will not disable the radio button. When I delete the $('#[% QuestionName() %]_r16_1_graphical').hide(); , the radio button is disable.

<script>

$(document).ready(function(){

SSI_DisableRadioButtonOrCheckbox('[% QuestionName() %]_r16_1');

$('#[% QuestionName() %]_r16_1_graphical').hide();

})

</script>

Any help would be greatly appreciated.

Thank you

2 replies