NickG21 Posted January 2, 2007 Share Posted January 2, 2007 hey everyone here is my code for a function to disable a set of radio buttons. i was wondering if anyone could help me and try to elaborate on how i could disable a group of checkboxes at the same time when this one checkbox is checked.[code]function DisableRadioGroup(radioGroup, disable){ if(document.getElementById("OwnersManual").checked == true){ for(var i=0; i < radioGroup.length; i++) { radioGroup[i].disabled = true } }else{ for(var i=0; i < radioGroup.length; i++) { radioGroup[i].disabled = false }}}[/code]onClick="DisableRadioGroup(ServiceName)" Link to comment https://forums.phpfreaks.com/topic/32571-disable-radio-group-and-checkboxes/ Share on other sites More sharing options...
fenway Posted January 3, 2007 Share Posted January 3, 2007 This is identical to your other thread... what's the new problem? Link to comment https://forums.phpfreaks.com/topic/32571-disable-radio-group-and-checkboxes/#findComment-151867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.