It may be simple, I dunno... I never had to do this before and for the life of me I can't find anything on the net so far.
I have a radio button group (which I'll post after this message). I have to hide a radio button option with it's label. ie: in the example below, I want to hide option id=rbIntrusionDetectC along with the CEP label. Is this possible using javascript?
I was able to hide the actual radio button, but not the corresponding label.
Your help is much appreciated.
Thanks.
D.
Expand|Select|Wrap|Line Numbers
- <div id="rbIntrusionDetect_div"
- class="showControl"><input type="radio" name="ui.rbIntrusionDetect.value" id="rbIntrusionDetectY" value="Y"/><label for="rbIntrusionDetectY">Yes</label>
- <input type="radio" name="ui.rbIntrusionDetect.value" id="rbIntrusionDetectN" value="N"/><label for="rbIntrusionDetectN">No</label>
- <input type="radio" name="ui.rbIntrusionDetect.value" id="rbIntrusionDetectC" value="C"/><label for="rbIntrusionDetectC">CEP</label>
- </div>