how to disable / hide / readonly radio box

tvdgreft 28 Feb, 2015
Using an event switcher, I want to disable a radio box field in the on load area.
For a text box I use next javascript:

window.addEvent('domready', function() {
$('input-field').readOnly = true;
});

But for a radio box this doesn't work. What is a solution?
This topic is locked and no more replies can be posted.