I have a simple form:
Here's another solution (IMO having an id on an seems a bit wrong to me):
$("input[name='color']").change(function () { if ($(this).val() == 1) { $('.block-cms').show() } else { $('.block-cms').hide(); } });